I allow vtcl to name the widgets. I've got scrollbar linked with 3 listboxes.
The 3 listboxes have been named:
.top27.fra28.fra48.lis48, ...lis49 and ...lis50
My question is this: After I have saved as a Tclet and I look in the resulting file I
find where the listboxes are actually defined the widget names are no longer as they
are above but have changed to '.01.010.011, ..012 and ..013 respectively. This is in
itself is no problem but as soon as a function tries to insert text into the listboxes
the names ((taken from the 'Widget' field of the attribute editor) i.e.
.top27.fra28...etc) I get an error saying .top27.fra28.fra48.lis48 is invalid. If I
then edit the tclet file so that any references to the listboxes are .01.010.011 etc
then it all works fine.
So, I guess this generates two more questions: a) why does the name of listbox widget
change when I 'Save as Tclet' and the references to it not change; and b) I tried
using 'set alias' to assign a preferred name to each widget but I can find no means of
using the alias without getting errors. (i.e. if I want to alias a listbox widget as
'fillername' how do I then refer to the aliased widget? I have .fillername,
fillername, $fillername to no avail).
Regards markh