Control with array List 'tick' boxes ....
Publicado: Mié Mar 09, 2011 2:01 pm
Hi,
I want to create a list of say 'Clubs' or 'Interests' that a person has and
allow them to 'tick' the 'Cluds or 'Interests' they have. The List of
'Clubs' or 'Interests' are maintained in a .dbf.
I have loaded an array browse from the dbf with the necessary columns and an
extra column for the 'ticks' ... see image.
I have made column 3 editable ..... so I can type say an X in the column
where necessary.
My questions are ....
1. Is there a Xailer control that would do this for me more easily? Maybe
a Column edit type of 'CheckBox'?
2. If I do use an arraybrowse like here ...... I want to set the X just
with the Spacebar ... I can add code to the oGridEdit:onChar event and
detect nKey=32 but dont know how to return an X to the screen.
3. If I do use an arraybrowse like here ...... I want to minimise keypresses
and EXIT my get using the UP/DOWN keys but I think these are captured at the
browse level and I cannot find an event to capture them and force the
oGridEdit to exit.
Any suggestions would be appreciated.
Regards, Chris
Attached files
I want to create a list of say 'Clubs' or 'Interests' that a person has and
allow them to 'tick' the 'Cluds or 'Interests' they have. The List of
'Clubs' or 'Interests' are maintained in a .dbf.
I have loaded an array browse from the dbf with the necessary columns and an
extra column for the 'ticks' ... see image.
I have made column 3 editable ..... so I can type say an X in the column
where necessary.
My questions are ....
1. Is there a Xailer control that would do this for me more easily? Maybe
a Column edit type of 'CheckBox'?
2. If I do use an arraybrowse like here ...... I want to set the X just
with the Spacebar ... I can add code to the oGridEdit:onChar event and
detect nKey=32 but dont know how to return an X to the screen.
3. If I do use an arraybrowse like here ...... I want to minimise keypresses
and EXIT my get using the UP/DOWN keys but I think these are captured at the
browse level and I cannot find an event to capture them and force the
oGridEdit to exit.
Any suggestions would be appreciated.
Regards, Chris
Attached files