Hello All,
I have a dialog which has 15 Edit boxes in there. I tried to get the data from those by using Repeat ..until but I could get data from the first Edit box only.
Please help.
Loop to get data in Edit box property
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Loop to get data in Edit box property
If your edit boxes have the same format name with a number in it, e.g. Edit1, Edit2 .. Editn, then you could do it using an incrementing loop counter:
Code: Select all
Let>k=0
Repeat>k
Let>k=k+1
SetDialogProperty>Dialog1,Edit%k%,Text,some text
Until>k=10
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?