You ask a good question. I ran into this problem myself.  This was my solution:
I found that if you insert your handwritten code towards the beginning of the
script, just after the line: "init $argc $argv" that your code won't get
deleted.  A trick I use is to make this code a procedure and then I can call
the procedure with a command button.  Don't forget if you use variables from
outside the procedure in the procedure to use the global statement.

...Mark



On Tue, 05 Dec 2000, Pieter De Troyer wrote:
> Hi all,
> 
> I'm very new with vtcl and i have some basic questions.
> 
> Using vtcl 1.2.1 I succeeded in making a nice looking GUI that actually
> does nothing yet. After browsing different tutorials I couldn't find out
> how i can create procedures and variables for my program without vtcl
> overwriting them when saving the gui? At this moment I made the GUI,
> saved it and then added some procedures and variables at the ensd of the
> file. Reopening it in vtcl and making some adjustments everything got
> lost when i saved the changes. is there a way to make procs etc. in vtcl
> itself? 
> 
> Other question: i want to use to almost identical frames in the window.
> I would use some variables to make them look alike. How can this be done
> in vtcl?
> 
> Thanks a lot!
> 
> 
> Pieter
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/vtcl-user
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to