ListBox - Multiselect
Posted: Fri May 22, 2009 10:19 am
Hi All,
Three issues for which I require help.
Case:
I am using listbox multiselect for giving the user choice to select more than
one option in the list box. Presently the user has to use <Ctrl>+ <LeftClick> to select mulitiple items.
My questions are:
1. How to know, as to which row of the list box the cursor is on, say for
example when the user uses the DBLCLICK option. This is so that that row can be
added to the Listbox.Value array. Presently the ListBox.Value option contains an array of selected items and not the row number on which the user has clicked.
2. If the size of array is say 200, then we have to give some kind of search
facility to the user, if this is the case, then how can we use a different key
combination other than <Ctrl>+ <LeftClick> for selection say <F2> for Search and Select.
3. Where can I find more information about LISTBOXSETMULTISEL() function. This function seems to be controlling the Multiselect function. The details of this
function is not available in the source directory of MiniGui.
Any help will be greatly appreciated, otherwise I will have to switch to some
other form of control (eg. Browse) to achieve my purpose.
I had asked this question in the HMG extended forum, but I did not receive any reply, probably one of the Gurus here can help me solve my problem.
Warm regards,
Jayadev.
Three issues for which I require help.
Case:
I am using listbox multiselect for giving the user choice to select more than
one option in the list box. Presently the user has to use <Ctrl>+ <LeftClick> to select mulitiple items.
My questions are:
1. How to know, as to which row of the list box the cursor is on, say for
example when the user uses the DBLCLICK option. This is so that that row can be
added to the Listbox.Value array. Presently the ListBox.Value option contains an array of selected items and not the row number on which the user has clicked.
2. If the size of array is say 200, then we have to give some kind of search
facility to the user, if this is the case, then how can we use a different key
combination other than <Ctrl>+ <LeftClick> for selection say <F2> for Search and Select.
3. Where can I find more information about LISTBOXSETMULTISEL() function. This function seems to be controlling the Multiselect function. The details of this
function is not available in the source directory of MiniGui.
Any help will be greatly appreciated, otherwise I will have to switch to some
other form of control (eg. Browse) to achieve my purpose.
I had asked this question in the HMG extended forum, but I did not receive any reply, probably one of the Gurus here can help me solve my problem.
Warm regards,
Jayadev.