Exclusive itembox selection

Started by wlodekd, August 01, 2013, 08:42:49 AM

Previous topic - Next topic

wlodekd

Dear Forum,

I am displaying two ItemBox at the same time. Each box has list of files with different file extensions.
How to limit selection to only one box at the time i.e. when I choose item from ItemBox2 (.pdf),  ItemBox1 become inactive or opposite.

Thanks

td

You will need to implement a dynamic dialog, if you haven't already. You will also need to add a case for handling event 7 (itembox item selected).  In the added case you will need to call the DialogControlState function with request coded 3 (set style) and style 2 (disabled style) on the itembox not receiving the select event.

You can find details in the help topics for the DialogControlState, DialogControlOptions, and Dialog functions.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

wlodekd

Thank you,

It is working great.

  Best regards Walter