Checkbox in header

Checkbox in header

Postby wartiaga » Tue Nov 06, 2018 1:35 pm

Hi,

I have a array xbrowse, the first field is a logical than i can mark or unmark, how i can put a checkbox in header and how i control the status (mark or unmark).

Thanks in advance.
wartiaga
 
Posts: 204
Joined: Wed May 25, 2016 1:04 am

Re: Checkbox in header

Postby cnavarro » Tue Nov 06, 2018 6:52 pm

Search in forum
One sample:
viewtopic.php?f=3&t=35501&p=211653&hilit=check+header#p211386

Code: Select all  Expand view

:nHeadBmpNo    := { || If( Len( oBrw:aSelected ) == oBrw:nLen, 1, 2 ) }
 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6522
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: cmsoft and 61 guests