01-26-2009, 12:56 PM
Hi,
I often make many elements in large dialogs appear/reappear via button clicks e.g. Advanced Options. I am trying to perform the same action on multiple dialog elements in one sentence instead of many.
Currently, I am doing something like this:
and same for hid-
I was wondering if there was a syntax similar to
Looked around in help file and experimented with a few different syntaxes unsuccessfully. Anybody know how to do this?
Thanks!!!!!,
Stuart
I often make many elements in large dialogs appear/reappear via button clicks e.g. Advanced Options. I am trying to perform the same action on multiple dialog elements in one sentence instead of many.
Currently, I am doing something like this:
int hDlg=win("Dialog" "#32770")
str ElementCollection = "11[]12[]13[]45[]46[]47"
str ElementCollectionBucket
foreach ElementCollectionBucket ElementCollection
,hid id(val(ElementCollectionBucket) hDlg) ;; val turns the element id number in the str coll into an integer
,
and same for hid-
I was wondering if there was a syntax similar to
Looked around in help file and experimented with a few different syntaxes unsuccessfully. Anybody know how to do this?
Thanks!!!!!,
Stuart