Cancel
Showing results for 
Search instead for 
Did you mean: 

opening dialog after opening model

Hi

 

I have one question.

I want to control my simulation model using my own dialog created in frame.

I want to show dialog immediately after opening model without any additional clicking.

(I want to open my model in Windows and without making  any other click i want to show dialog)

Is it possible? And if there is way how can I do it?

 

I know it is possible show dialog by using right click and right click but I want to eliminate clicks to control my model.

 

Thanks for respond

 

Have a nice day

 

 

3 REPLIES 3

Re: opening dialog after opening model

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi Slavomir,

 

Yes, it is possible. You could create a method into the Basis tree called AUTOEXEC, and insert something like this:

 

is
do
     <DialogPath>.open;

end;

Best Regards,
Paulo Araujo

Re: opening dialog after opening model

Thanks for quick reply .

It works perfectly. Smiley LOL

Thanks for help

Re: opening dialog after opening model

Siemens Experimenter Siemens Experimenter
Siemens Experimenter

Very nice! it works like a charm. i added it to the Class Library.

 

The help seems to offer the option to simply add it to the model, but that did not produce the desired results. as a matter of fact, nothing really happend.

 

Thank you.