Search found 56 matches: nbmpwidth

Return to advanced search

Consulta sobre el uso de gráficos en filas de un xBrowse

... esto con los siguientes comandos WITH OBJECT :oCol(2) :AddBitmap(aGraphsL, ) :bBmpData := {|| oLbx:KeyNo() } // número del bitmap para cada fila :nBmpWidth := 22 // ancho de la franja donde se muestra el bitmap, png :bCellToolTip := { || AyudaEvtEsp(oLbx:aArrayData[oLbx:KeyNo(),2]) } END Pero, ...
by nanoespinoza
Sun Apr 04, 2021 6:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre el uso de gráficos en filas de un xBrowse
Replies: 7
Views: 935

Re: XBROWSE transparente

Mr Rao. Encontré la solución. ::bPaintBack := {|| aOrg := SetBrushOrgEx( ::hDC, nBmpWidth( ::oWnd:oBrush:hBitmap ) - ::nLeft, nBmpHeight( ::oWnd:oBrush:hBitmap ) - ::nTop ), FillRect( ::hDC, GetClientRect( ::hWnd ), ::oWnd:oBrush:hBrush ), SetBrushOrgEx( ::hDC, ...
by Modesto
Thu Feb 11, 2021 1:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE transparente
Replies: 4
Views: 530

Re: A problem with GDIP_IMAGEFROMFILE()

We recommend using FW_ReadImage( nil, cAnyImageSource, [aSize], [lGDIP] ) --> aImage

Elements of aImage:
{ hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource, cType, nZeroClr }

Destroy with
PalBmpFree( aImage )
by nageswaragunupudi
Sat Feb 29, 2020 12:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GDIP_IMAGEFROMFILE() [Solved]
Replies: 2
Views: 527

Re: Btnbmp: Different look after link in FWH19.05

... METHOD PaintBitmap() CLASS TBtnBmp if ::nLayOut == LAYOUT_LEFT ... ... ::nBmpMargin := nMargin + nBmpWidth + 5 regards Uwe :D
by ukoenig
Wed Jul 03, 2019 5:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Btnbmp: Different look after link in FWH19.05
Replies: 5
Views: 1122

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... local hBmp DEFAULT n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), cBmpDes ) ) AAdd( xBrw:aSortBmp, { hBmp, ...
by cnavarro
Sun Aug 20, 2017 11:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 6
Views: 1255

COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... local hBmp DEFAULT n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), cBmpDes ) ) AAdd( xBrw:aSortBmp, { hBmp, ...
by rterraz
Sun Aug 13, 2017 3:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 6
Views: 1255

CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... local hBmp DEFAULT n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), cBmpDes ) ) AAdd( xBrw:aSortBmp, { hBmp, ...
by rterraz
Sun Aug 13, 2017 3:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 0
Views: 435

Problem in xBrowse FWH 16.11

... 0 ) Called from: C:\FWH_16\my_fw\XBROWSE.PRG => TXBRWCOLUMN:PAINTCELL( 11898 ) temporarily I solved in this way if HB_IsNumeric(nBmpWidth) .And. oRect:nWidth >= nBmpWidth //aBitmap[ BITMAP_WIDTH ] Regards Maurizio http://www.nipeservice.com
by Maurizio
Wed Dec 07, 2016 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem in xBrowse FWH 16.11
Replies: 14
Views: 3007

New FTDN November/Noviembre 2016 (FWH 16.11)

... cell are displayed with corresponding colors and fonts in arrays :aClrText and :aDataFont. See fwh\samples\xbfntclr.prg - New DATAs TXBrwColumn : nBmpWidth and nClrBmpBack Improvements to bitmap and text alignment in a column. Please see http://forums.fivetechsupport.com/viewtopic.php?f=3&p=195912#p195912 ...
by Antonio Linares
Wed Nov 30, 2016 12:07 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre 2016 (FWH 16.11)
Replies: 4
Views: 3162

FWH 16.11 : XBrowse Bitmap and Text Alignment

New DATAs of TXBrwColumn nBmpWidth nClrBmpBack Purpose and Usage: At present, when a column has both bitmap and text, text is displayed leaving a margin equal to the width of the bitmap plus 5 pixels. When bitmaps of different sizes are ...
by nageswaragunupudi
Tue Nov 29, 2016 7:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.11 : XBrowse Bitmap and Text Alignment
Replies: 1
Views: 1057

Re: TBarTabs Tamaño de los tabs

... case ::nOrientation <= OR_BOTTOM DrawTextEx( ::hDC, cPrompt ,; { If( LargeFonts(), 1, 8 + If( ::nOrientation == OR_TOP, 1,0 ) ),; nStart + 15 + nBmpWidth, ; ::nHeight, nStart + 20 + nWidth - 15 },; nOr( DT_LEFT, DT_VCENTER ) ) /* codigo original DrawTextEx( ::hDC, cPrompt ,; { If( LargeFonts(), ...
by rterraz
Tue Sep 20, 2016 2:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TBarTabs Tamaño de los tabs
Replies: 3
Views: 738

Re: TXImage from resources

Enrico , use WndReadPalBmpEx( Self, uBmp, aReSize ) -> aBmp // format: { hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource } This function is in btnbmp.prg for substitution in test . In my tests gdi+ it gives equal and often better quality than freeimage ...
by mastintin
Sat Oct 24, 2015 5:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXImage from resources
Replies: 5
Views: 1100

Re: position of an Image

Silvio,

This is the line where it is failing:

nBmpWidth = nBmpWidth( ::aImgs[ n, TI_HBMP ] )

I can't understand how you have these values there:

Error description: Error BASE/1068 Argument error: array access
Args:
[ 1] = N 527 !!!!!!!!
[ 2] = N 3
by Antonio Linares
Thu May 28, 2015 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: position of an Image
Replies: 8
Views: 1118

Re: Possible a text-adjust of BTNBMP NO image ?

... --- case ::nLayOut == 2 // left ------if ::lAdjust ---------nTxtLeft := 4 ------else ---------if !empty( hBmp ) ------------nTxtLeft := nBmpLeft + nBmpWidth + 4 ------------nLayOut := 4 -------- else ----------- nTxtLeft := 4 --------endif tested, but no result if ! Empty( ::cCaption )  ...
by ukoenig
Sat Feb 21, 2015 12:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible a text-adjust of BTNBMP NO image ?
Replies: 14
Views: 3517
Next

Return to advanced search