HI all,
here an other question about the multiselect feature of xBrowse.
I want to give the possibility to create groups of selected items of a browse.
A user might multi-select some rows and click at a button to create a group from those selected items.
If there is only one row selected it makes no sense to create a group for it.
I could test the len of oBrw:aSelected and tell the user after the group button is pressed that he has to select more than one row for building a group.
But my intention is to disable the grouping button if there is no multiselect and enable if yes.
The button is build with: WHEN len( oBrw:aSelected ) > 1.
I just don't know where to call the oDlg:AEvalWhen().
The onChange event of the browse doesn't always change the button correctly.
Is there an other event to get the desired button change?
Thanks for every helping answers,
Detlef
here an other question about the multiselect feature of xBrowse.
I want to give the possibility to create groups of selected items of a browse.
A user might multi-select some rows and click at a button to create a group from those selected items.
If there is only one row selected it makes no sense to create a group for it.
I could test the len of oBrw:aSelected and tell the user after the group button is pressed that he has to select more than one row for building a group.
But my intention is to disable the grouping button if there is no multiselect and enable if yes.
The button is build with: WHEN len( oBrw:aSelected ) > 1.
I just don't know where to call the oDlg:AEvalWhen().
The onChange event of the browse doesn't always change the button correctly.
Is there an other event to get the desired button change?
Thanks for every helping answers,
Detlef