HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

another q on peppars dialog

09-14-2003, 03:50 AM#1
piRo-piOn
the last clicked button in your dialog is set to an integer... where do i find which integer goes with witch button?
09-14-2003, 09:10 AM#2
Peppar
The last clicked button integer is a button index.
The buttons are ordered from first to last created. The first button
that was created in the dialog (the top button) has index 0, while
the button under it has index 1 and so on.
09-14-2003, 05:56 PM#3
piRo-piOn
so lets say i have 2 dialogs:

dialog 1:
option 1
option 2
option 3
reselect

dialog 2:
option 1
option 2
option 3
reselect

would option 1 on dialog 2 have an index of 3 (created after dialog 1) or an index of 0?
09-14-2003, 08:10 PM#4
Peppar
The index of the first button on the second dialog would have an
index of 0. The dialogs work independently, you can set them up
when you want and later show them at different occasions.
09-14-2003, 10:18 PM#5
piRo-piOn
k thx