thanks for your help,
 
i actually want to create a dialog where the user can enable or disable the layers he wants to show.
as i don't know how many layers are open i first have to find it out. lets say there are seven layers.
how can i now create a dialog in mapbasic where there are seven checkboxes and the next run of this sub there are then nine layers.
 
somehow there must be sort of a loop in this dialog statement and this is my problem.
 
greetings and thx for your help
----- Original Message -----
Sent: Wednesday, July 05, 2000 8:12 PM
Subject: RE: MI Preserve Dialog

i am not exactly sure what u r trying to achieve...
But if you are just wanting to change StaticText control...
Then you can create global String Variables and assign values to that...
Then whenever you open a dialog.. you say
 
Control StaticText
   Title gszThisTitle
 
Is this what you are looking for?
 
 

Yas
Software Engineer
voice: (918) 877.6704 or (800) 727.6774
fax:   (918) 877.6960
web:   http://www.mpsisys.com
email: [EMAIL PROTECTED]

 
-----Original Message-----
From: Daniel Budmiger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 10:52 AM
To: [EMAIL PROTECTED]
Subject: MI Preserve Dialog

In my mapbasic program I want to update my dialog with some control statements after I clicked OK. Just adding different controls is no problem. I want to add it after the dialog is already closed. It would even be better to add for i=1 to 10 control statictext's. I already tried with the preserve order but did not succeed.
 
Is there a possibility to do this in a loop like this?
Thanks for your help.
 
Daniel Budmiger
 
/////////////////////////////////////////////////////////////////
NPOCOM.informatik-services
-------------------------------------------
http://www.npocom.ch / [EMAIL PROTECTED]
Tel +41 1 297 91 11  / Dienerstrasse 15
Fax +41 1 297 91 22  / CH-8004 Zuerich
/////////////////////////////////////////////////////////////////

Reply via email to