comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Retrieving the title of a widget_base after the fact.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Retrieving the title of a widget_base after the fact. [message #50906] Tue, 24 October 2006 06:50
Braedley is currently offline  Braedley
Messages: 57
Registered: September 2006
Member
David Fanning wrote:
> Braedley writes:
>
>> Specifically, when the parent of the widget_base is a widget_tab.
>> There's a chance that an action may be canceled by the user when data
>> that would normally be over-written no longer needs to be over-written.
>> Part of the process includes renaming the tab (before the decision to
>> cancel can be made). However, if that tab no longer needs to be
>> overwritten, I would like to set the title of the tab back to what it
>> was before.
>>
>> Hope that wasn't too confusing. There's nothing in widget_info or
>> widget_control that appear to be able to do this, so am I going to have
>> to devise a means of retrieving the original title?
>
> Well UVALUEs are always handy for this kind of thing. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Don't ask me why I didn't think about that.

Thanks
Braedley
Re: Retrieving the title of a widget_base after the fact. [message #50908 is a reply to message #50906] Mon, 23 October 2006 14:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Braedley writes:

> Specifically, when the parent of the widget_base is a widget_tab.
> There's a chance that an action may be canceled by the user when data
> that would normally be over-written no longer needs to be over-written.
> Part of the process includes renaming the tab (before the decision to
> cancel can be made). However, if that tab no longer needs to be
> overwritten, I would like to set the title of the tab back to what it
> was before.
>
> Hope that wasn't too confusing. There's nothing in widget_info or
> widget_control that appear to be able to do this, so am I going to have
> to devise a means of retrieving the original title?

Well UVALUEs are always handy for this kind of thing. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: sorting string arrays - non alphabetic and user defined order
Next Topic: Detect APP_SCROLL or SCROLL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 23:31:36 PDT 2025

Total time taken to generate the page: 1.27989 seconds