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

add combo box in customized dialog box


2 replies to this topic

Sophia_kuan

Sophia_kuan
  • Full Members
  • 2 posts

Posted 07 February 2007 - 11:43

Hi,

I add combo box(drop down) to my customized dialog box, however, I am not able to find any place to add items in.

The project I create is installscript MSI project(installShieldX).

Please help me out!
thanks~
Sophia huh.gif



Donzer

Donzer
  • Full Members
  • 29 posts

Posted 15 February 2007 - 11:15

Hi

I have added the list within installshield ...

I needed a list of Scottish Health Borad Areas in a list box. Create a list then add your required entries. Set the combo box property at the end.

// configure health board list for dialog
listHealthBoards = ListCreate(STRINGLIST);

ListAddString(listHealthBoards, "AYRSHIRE & ARRAN", AFTER);
ListAddString(listHealthBoards, "BORDERS", AFTER);
ListAddString(listHealthBoards, "DUMFRIES & GALLOWAY", AFTER);
ListAddString(listHealthBoards, "FIFE", AFTER);

CtrlSetList (svDialogName, HealthBoardList, listHealthBoards);


Hope that helps

Donna

Sophia_kuan

Sophia_kuan
  • Full Members
  • 2 posts

Posted 15 February 2007 - 11:42

Thanks so much tongue.gif