xBrowse checkbox

xBrowse checkbox

Postby byte-one » Fri Jan 25, 2008 10:44 am

Hello all,
is in xBrowse an EDIT_MODE for CHECKBOX or an other solution to do checkboxes?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Postby Antonio Linares » Fri Jan 25, 2008 9:42 pm

Günther,

You may use a combobox with "Yes" and "No"

Please review fwh\samples\mallorca.prg in FWH 8.01 to use a combobox
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby goosfancito » Mon Nov 24, 2008 12:03 pm

Antonio,
Hay problema con la implentacion de los checkbox fuera del uso comun de un checkbox?
Pregunto porque quise utilizarlo en tree y no pude, ahora cambie y quiero ponerlo en un xbrowse y veo que no se lo puede implementar tan facilmente... es asi o me equiboco?

Lo mio es simple:
Code: Select all  Expand view
         aArray:= {{"1",.T.},{"2",.T.}},;

      WITH OBJECT ::oBrwPermisos:= TXbrowser():new(oFolder:aDialogs[2])

         :nMarqueeStyle       := MARQSTYLE_HIGHLCELL
         :nColDividerStyle    := LINESTYLE_BLACK
         :nRowDividerStyle    := LINESTYLE_LIGHTGRAY
         :lColDividerComplete := .T.
         :lRecordSelector     := .F.

         // Define alto de la fila
         :nRowHeight          := 15

         :setarray(aArray)

         :acols[1]:cHeader := 'x'
         :aCols[2]:SetCheck( { "ON", "OFF" } )

         :CreateFromResource(401)
      END WITH

y no muestra ni a palo el cuadradito...

Que estoy haciendo mal?

Gracias.


Antonio Linares wrote:Günther,

You may use a combobox with "Yes" and "No"

Please review fwh\samples\mallorca.prg in FWH 8.01 to use a combobox
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Postby demont frank » Mon Nov 24, 2008 2:53 pm

demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby hag » Mon Nov 24, 2008 4:46 pm

Antonio:

Any way to get the list box using xbrowse from resources rather the buildfromcode?
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Postby goosfancito » Mon Nov 24, 2008 4:52 pm



Frank i saw that example.... thank´s
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests