(Using CVS from 27 march...)
When copying a toplevel (automatic aliasing on), the new toplevel indeed gets
a new alias (e.g. Toplevel1), thanks. All the aliases of the widgets in both
toplevels stay the same (probably as desired). But I had the habbit of writing
things like:
$widget(Button_to_exit) invoke
Now, since two widgets have this alias (both in the original toplevel as in
the copied toplevel), there is confusion (and so: errors...).
Is (was?) this a bad coding style I was using, so, is writing
"Toplevel1.Somealias" the only way aliases can be used in a safe way? It
probably is...
BTW, what exactly is the difference between writing "$widget(Somealias)"
and "Somealias", since both seem to be advised in the startup tips? Is the
$widget(...) notation only necesarry inside procedures (because "widget" can be
declared global)?
Thanks,
Stef.
P.S. copying toplevels also loses some settings of subwidgets (sizes of
comboboxes, sizes of scrollbars,...)
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user