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

Pre-populating combo boxes / lists


1 reply to this topic

Blake Weston

Blake Weston
  • Members
  • 2 posts

Posted 06 March 2003 - 16:37

I'm sure there is a fairly straightforward solution, but how do I pre-populate controls such as list boxes in a custom dialog when using a Basic MSI?

I understand each control on the dialog can have associated events, but is there some sort of initialise event on a per-dialog basis?

Regards,

Blake.

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 07 March 2003 - 21:08

There is a property for the list box called Items, when this is selected it will come up with a dialog that allows you to add the items you want displayed in the list.

If you need to set your list at runtime, then you need to write a custom action that updates the ListBox table with the required information.



Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project