viewpoint-particle

Author Topic: Exclusive itembox selection  (Read 2445 times)

wlodekd

  • Newbie
  • *
  • Posts: 11
Exclusive itembox selection
« on: August 01, 2013, 08:42:49 am »
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

  • Tech Support
  • *****
  • Posts: 3210
    • WinBatch
Re: Exclusive itembox selection
« Reply #1 on: August 01, 2013, 09:34:53 am »
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

  • Newbie
  • *
  • Posts: 11
Re: Exclusive itembox selection
« Reply #2 on: August 01, 2013, 11:48:09 am »
Thank you,

It is working great.

  Best regards Walter