Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Listbox items Use


1 reply to this topic

sareeta

sareeta
  • Members
  • 3 posts

Posted 20 November 2003 - 11:17

Hi,

I have the following scenario:

There is a list box with some items in a dialog.
Every time an item is selected in the listbox, custom action (common one) should be executed for validation.
This should be done prior to clicking Next button (or any other button) in the dialog.

Can someone give some information on how the custom action will be executed when dynamic selection of the listbox items is done without clicking any button?


Thanks in advance..
Sareeta

MSIB

MSIB
  • Members
  • 13 posts

Posted 20 November 2003 - 14:20

You can add a record in ControlEventTable:
Dialog_ : Listbox's Dialog
Control : Listbox identifier
Event: DoAction
Argument: YourCustomAction
Condition:YourCondition

Be carrefully:event will happen when you change listbox selection and also when you kill list focus.
Event will not happen if you change selection by setting variable value of listbox with other control or custom action