Search found 19 matches: defstyle

Return to advanced search

xbrowse -get date - resolved

... := .t. * :lBmpStretch := .f. :nwidth := 120 :nDataStrAlign := AL_CENTER :nHeadStrAlign := AL_CENTER :nDataStrAlign := oBrowse:aCols[ 7]:DefStyle(AL_LEFT,.f.) :nEditType := EDIT_BUTTON :bEditBlock := { |r,c,o,k|(XbrGetDate( o,"Seleziona una data",,1 ),oBrowse:refresh()) } END ...
by Silvio.Falconi
Mon Jul 08, 2019 10:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse -get date - resolved
Replies: 3
Views: 474

Re: buttons and datepick on xbrowse

... oBrowse:aCols[2]:nHeadStrAlign := AL_CENTER oBrowse:aCols[2]:nFootStrAlign := AL_RIGHT oBrowse:aCols[2]:nDataStrAlign := oBrowse:aCols[2]:DefStyle(AL_LEFT,.f.) oBrowse:aCols[2]:cHeader := 'Vencimento' oBrowse:aCols[2]:nBtnWidth := 30 oBrowse:aCols[2]:nWidth := 160 oBrowse:aCols[2]:cEditPicture ...
by MGA
Wed May 09, 2018 10:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3261

Re: buttons and datepick on xbrowse

... oBrowse:aCols[2]:nHeadStrAlign := AL_CENTER oBrowse:aCols[2]:nFootStrAlign := AL_RIGHT oBrowse:aCols[2]:nDataStrAlign := oBrowse:aCols[2]:DefStyle(AL_LEFT,.f.) oBrowse:aCols[2]:cHeader := 'Vencimento' oBrowse:aCols[2]:nBtnWidth := 30 oBrowse:aCols[2]:nWidth := 160 oBrowse:aCols[2]:cEditPicture ...
by MGA
Wed May 09, 2018 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3261

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" ........ For x = 1 to ...
by Wanderson
Mon Jul 25, 2016 6:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse com um só registro
Replies: 2
Views: 637

Re: xBrowse y texto Hotkey

... have the sources of 6.12. I can not tell you the exact lines to make the modification. But I try to guide you. In xbrowse.prg, search for METHOD DefStyle( ... ) In the method you may see a line of code which looks something like nStyle := nOr( DT_MODIFYSTRING,....) Please add DT_NOPREFIX also ...
by nageswaragunupudi
Mon Jul 06, 2015 8:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse y texto Hotkey (SOLUCIONADO)
Replies: 4
Views: 669

Re: XBrowse y Grupo de Columnas

... PaintHeader( nRow, nCol, nHeight, lInvert, hDC, nGrpWidth, aBitmap ) CLASS TXBrwColumn ---/... Line 9728 ( En la version 13.08 ) nStyle := ::DefStyle( AL_CENTER, ! ( CRLF $ cHeader ) ) y cambiar por and change by nStyle := ::DefStyle( ::nHGrpAlign, ! ( CRLF $ cHeader ) ) Seria posible? Would ...
by cnavarro
Fri Nov 01, 2013 11:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse y Grupo de Columnas
Replies: 24
Views: 9418

SAY PROMPT "HELLO & HELLO"

... in @ 2, 2 SAY oSay PROMPT "Test & Test" The appersand (&) is not showed. I remember that in xbrowse we had to change a line in Defstyle : nStyle := nOr( DT_MODIFYSTRING, DT_EDITCONTROL, DT_NOPREFIX ) I tryed this on a say object without succes. Frank
by Demont Brecht
Sat Jul 30, 2011 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAY PROMPT "HELLO & HELLO"
Replies: 5
Views: 859

Re: TO NAGES : RESTORE STATE NOT RUN OK

... THEN if i MODIFY THE METHOS PAINTHEADER OF XBROWSE lines 8714- 8729 // nStyle := ::DefStyle( ::nHeadStrAlign, ! ( CRLF $ cHeader ) ) nStyle := ::DefStyle( ::nHeadStrAlign, ! ( CRLF $ IfNil( cHeader, "" ) ) ) nBmpNo := ::nHeadBmpNo ...
by Silvio
Wed Feb 16, 2011 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO NAGES : RESTORE STATE NOT RUN OK
Replies: 11
Views: 3645

XBrowse Array as MULTILINE

Dear All,

XBrowse an array with 200 characters as one of the element. I tried oCol:DefStyle( AL_LEFT, .F. ) but still cannot make another line using CTRL+ENTER


Any hint?


Regards,
Frances
by fraxzi
Wed Jun 23, 2010 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Array as MULTILINE
Replies: 17
Views: 4231

Re: xbrowse change bitmap in execution

... 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 others codes ********* ...
by Wanderson
Tue Jun 22, 2010 10:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse change bitmap in execution
Replies: 5
Views: 986

xbrowse problem

... := { || 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 := { TRUE, FALSE ...
by Colin Haig
Sun Nov 15, 2009 3:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem
Replies: 5
Views: 981

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: 1112

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: 1112

Re: show bitmaps on Header and columns with Xbrowse

... := { || (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: 614

Otto,

Try it this way:

oCol = oBrw:aCols[ o:nPos ]
oCol:nDataStrAlign := AL_RIGHT
oCol:nDataStyle := oCol:DefStyle( oCol:nDataStrAlign, ( oCol:oBrw:nDataLines == 1 ) )
by Antonio Linares
Mon Dec 17, 2007 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser: Is it possible to change alignment on the fly?
Replies: 12
Views: 2531
Next

Return to advanced search