On 05-Dec-2000 Pieter De Troyer wrote:
I have used vtcl for several years, and I like it for what it does --rapid gui
framework development. It falls well short as a complete development
environment for a few reaons:
The problem stated... For things liek dialogs, in order for your dialogs to
remain intact after saving, exiting, and reloading, you have to wither create
all of your widgets for dialogs in procedures, or in main{}. This is a bit of
a pain.
Also, any code you make must be abstracted from the actual widgetnames using
global aliases, substituted root names, etc. Quite problematic for a project
that does much that is useful.
It it however, terrific for whipping together a GUI. This is how I've used it:
Create all dialogs, the main window widgets, widget bindings etc in vtcl, save
and exit. Edit the resultant file (which is full of truncated, meaningless
widgetnames) and replace them with a sane naming convention. Then add in your
own TCL/tk code manually.
I realize that vtcl and the program you are creatting are operation in the same
namespace, and this causes necessity for widgetname abstraction, but it really
is a pain and makes serious application building unfeasible using vtcl.
Hopefully people don't take offense to my comments. I use vtcl regularly and
it's a great GUI creation tool, but it cannot be used to actually code a
program, at least not without completely altering your programming style and
practices to bend to its will.
So for now, I build the GUI framework using vtcl, edit the resultant code, and
do the rest by hand.
> 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
--------------------------------
Michael Avery
IT Manager, Ottawa
Peregrine Systems Inc.
[EMAIL PROTECTED]
955 Green Valley Cres.
Ottawa ON, Canada
(613) 723-7505
Fax: (613) 723-7209
K2C 3V4
http://www.peregrine.com
--------------------------------
This message is intended for the addressee(s) only and contains confidential
and proprietary information to Peregrine Systems Inc. If you have received
this message in error, please notify the sender and destroy the message.
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user