On Sat, 1 Nov 1997 [EMAIL PROTECTED] wrote:
> I don't know if this is a bug or just a feature, but here goes. I
> created a label, and made the text field blank on it. I then assigned
> the text var tcl_platform(os). Even in the edit mode, this put my os
> in the label variable, and subsequently assigned it to the text portion
> of the label attributes. Now to get it to go blank again, I have to
> save my file, edit it with vi, and manually delete the -text from the
> label assignment.
>
> Is there any way around this? To me, it shouldn't pick up the value
> until it is running in the test mode or actually running. All that I'm
> trying to do, is to display the os, and the version number when it
> comes up, no matter what platform.
Under the menu item File/Preferences, make sure "Save global variable
values" is _not_ selected.
While in vTcl, you'll see the platform name in your label. Don't worry
about that. When you save the application and run it elsewhere, it will
show the proper value there.
...RickM...
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).