Search found 20 matches: ndatastyle

Return to advanced search

xbrowse com um só registro

... oCol:cHeader := "" oCol:bBmpData := { || iif( TEMP072->MARCADO, 1, 2) } oCol:bStrData := nil oCol:nDataStyle := oCol:DefStyle( AL_LEFT, .T.) oCol := oBrw:AddCol() oCol:bStrData := { || TEMP072->BOLETO} oCol:cHeader := "Nº BOLETO" ........ ...
by Wanderson
Mon Jul 25, 2016 6:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse com um só registro
Replies: 2
Views: 673

Re: DRAW A TEXT ON A BITMAP

... hDC ) nFontHt := GetTextHeight( oCol:oBrw:hWnd, hDC ) DRAWTEXTEX( hDC, cLine, { nRow, nLeft, nRow + nFontHt + 4, nRight }, 1 ) //oCol:nDataStyle ) oBold:DeActivate( hDC ) nRow += nFontHt + 4 cLine := SubStr( cText, nAt + 2 ) ELSE cLine := cText ENDIF IF oBrw1:KeyNo() = 2 .or. oBrw1:KeyNo() ...
by ukoenig
Tue Jul 02, 2013 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 9844

Bitmap en Linea con gradient (Txbrowse)

... WndWidth( oCol:oBrw:hWnd ) - 21, aRect[ 3 ] + 2, 2, 2,; RGB( 0, 0, 0 ), 1 ) endif endif SetTextColor( hDC, 0 ) DrawTextEx( hDC, cData, aRect, oCol:nDataStyle ) return nil
by FranciscoA
Mon Aug 02, 2010 7:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bitmap en Linea con gradient (Txbrowse)
Replies: 0
Views: 324

TO NAGES Also Windows Seven Error Bitmap on Xbrowse

... WndWidth( oCol:oBrw:hWnd ) - 21, aRect[ 3 ] + 2, 2, 2,; RGB( 125, 162, 206 ), 1 ) endif SetTextColor( hDC, 0 ) DrawTextEx( hDC, cData, aRect, oCol:nDataStyle ) return nil
by MdaSolution
Sun Jul 04, 2010 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO NAGES Also Windows Seven Error Bitmap on Xbrowse
Replies: 11
Views: 2578

Re: xbrowse change bitmap in execution

... oCol:AddResource("CHECKOFF") oCol:cHeader := "" oCol:bBmpData := { || iif( _FIELD->MARK, 1, 2) } oCol:bStrData := nil oCol:nDataStyle := oCol:DefStyle( AL_LEFT, .T.) * here i need to press key M and execute the function listed below Static Function Seleciona() ******** my ...
by Wanderson
Tue Jun 22, 2010 10:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse change bitmap in execution
Replies: 5
Views: 1058

Re: TO ANTONIO Windows Seven Xbrowse Colores

... WndWidth( oCol:oBrw:hWnd ) - 21, aRect[ 3 ] + 2, 2, 2,; RGB( 125, 162, 206 ), 1 ) endif SetTextColor( hDC, 0 ) DrawTextEx( hDC, cData, aRect, oCol:nDataStyle ) return nil
by MdaSolution
Thu Apr 08, 2010 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO Windows Seven Xbrowse Colores
Replies: 10
Views: 3132

Re: Ayuda sobre xBrowse/Windows 7

... WndWidth( oCol:oBrw:hWnd ) - 21, aRect[ 3 ] + 2, 2, 2,; RGB( 125, 162, 206 ), 1 ) End SetTextColor( hDC, 0 ) DrawTextEx( hDC, cData, aRect, oCol:nDataStyle ) Return NIL 2.- PAra solucionar el segundo problema me comentabas que añadiera esta liena al xBrowse: oBrw:nStretchCol = STRETCHCOL_LAST ...
by jll-fwh
Thu Feb 25, 2010 12:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda sobre xBrowse/Windows 7
Replies: 22
Views: 7105

Antonio: Defecto en Gradient en Windows 7

... WndWidth( oCol:oBrw:hWnd ) - 21, aRect[ 3 ] + 2, 2, 2,; RGB( 125, 162, 206 ), 1 ) endif SetTextColor( hDC, 0 ) DrawTextEx( hDC, cData, aRect, oCol:nDataStyle ) Return nil Un saludo JLL
by jll-fwh
Tue Feb 23, 2010 12:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio: Defecto en Gradient en Windows 7
Replies: 4
Views: 847

Re: Sobre Gestores de B.D

... WndWidth( oCol:oBrw:hWnd ) - 21, aRect[ 3 ] + 2, 2, 2,; RGB( 125, 162, 206 ), 1 ) endif SetTextColor( hDC, 0 ) DrawTextEx( hDC, cData, aRect, oCol:nDataStyle ) return nil Saludo JLL
by jll-fwh
Mon Feb 22, 2010 8:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sobre Gestores de B.D
Replies: 3
Views: 879

xbrowse problem

... 1, 2) } oCol:bStrData := { || iif( oProject:prjstart, "Yes", "No ")} oCol:bEditValue := { || oProject:prjstart } oCol:nDataStyle := oCol:DefStyle( AL_RIGHT, .T.) oCol:nEditType := EDIT_LISTBOX oCol:aEditListTxt := { "Yes", "No"} oCol:aEditListBound ...
by Colin Haig
Sun Nov 15, 2009 3:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem
Replies: 5
Views: 1042

Re: error justificado de columnas con xbrowse

Hola Daniel.

Ya funciona. He usado:

oCol:nDataStyle := oCol:DefStyle( AL_LEFT, .F. )

en lugar de:

ocol:nDataStrAlign := AL_LEFT

Muchas gracias.
Alvaro
by alvaro533
Thu Sep 17, 2009 10:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: error justificado de columnas con xbrowse
Replies: 8
Views: 1342

Re: error justificado de columnas con xbrowse

Alvaro...

Recibi correo he realizado algunas pruebas y no logro generar el error q nos comentas, el texto me sale alineado perfectamente, te envio a tu email el test...

trata de usar esta via sin necesidad de cambiar la clase

oCol:nDataStyle = oCol:DefStyle( AL_LEFT, .F. )
by Daniel Garcia-Gil
Wed Sep 16, 2009 4:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error justificado de columnas con xbrowse
Replies: 8
Views: 1342

Re: show bitmaps on Header and columns with Xbrowse

... oCol:bStrData := { || (oDCli)->ATTIVITA} oCol:cHeader := "Tipo" oCol:bEditValue := { || (oDCli)->ATTIVITA } oCol:nDataStyle := oCol:DefStyle( AL_LEFT, .T.) oCol:bBmpData := { || (oDCli)->Attivita} oCol:nWidth :=40 oCol:= oApp():oGrid:AddCol() oCol:AddResource("sort1") ...
by Silvio
Mon Jan 12, 2009 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show bitmaps on Header and columns with Xbrowse
Replies: 2
Views: 684

tsbutton+xbrowse done a google like app help

... hDC ) nFontHt := GetTextHeight( oCol:oBrw:hWnd, hDC ) DrawTextEx( hDC, ALLTRIM(odb1:ctitle), { nRow, nLeft, nRow + nFontHt + 4, nRight }, oCol:nDataStyle ) ofont1:DeActivate( hDC ) SetTextColor( hDC, CLR_BLACK) nRow += nFontHt + 4 ofont2:Activate( hDC ) DrawTextEx( hDC, odb1:descrip, { nRow, ...
by ShumingWang
Thu Jul 24, 2008 10:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tsbutton+xbrowse done a google like app help
Replies: 1
Views: 897

... SetBkColor( hDC, aColors[ 2 ] ) DrawTextEx( hDC, cLine ,; {nRow, nCol, nRow + oFont1:nHeight(), Min( nCol + nWidth, ::oBrw:BrwWidth() - 5 ) },; ::nDataStyle ) oFont1:Deactivate( hDC ) cLine = Alltrim(SubStr(cData, nFrom )) oFont:Activate( hDC ) SetTextColor( hDC, aColors[ 1 ] ) SetBkColor( hDC, ...
by Otto
Thu Jun 26, 2008 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: different fonts in the same cell xbrowse
Replies: 5
Views: 1240
Next

Return to advanced search