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

Home » Public Forums » archive » Re: creating a widget inside an existing widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: creating a widget inside an existing widget [message #67174 is a reply to message #67173] Thu, 09 July 2009 21:31 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
b.a writes:

> I am tying to add some code to my event handler program so that for
> example each time "button1" is selected, a new widget-base inluding
> some buttons and text is added to my existing widget. Can anybody
> please help me how to do that? Is this at all possible?
>
> In this way, each time "button1" is clicked and the new part is added
> to the existing widget, it becomes bigger. Same as when we add a new
> row to the bottom of a table; but this row has some buttons and text
> inside it.

You might get away with something like this on Windows,
but I seriously doubt you will get away with it in UNIX.
Typically, if you want to add widgets after you have
realized the widget hierarchy, you must destroy and
recreate the hierarchy. (There are keywords and techniques
you can use to recreate it in the same location as the old
hierarchy, etc., but basically, you have to rebuild it.)

I'm only about 80% sure of this answer. Changes in the
way widget events are handled, etc., may have changed things.
Let's just say, I would be surprised if you got this to work.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Menu Question
Next Topic: creating a widget inside an existing widget

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

Current Time: Sat Oct 11 07:42:48 PDT 2025

Total time taken to generate the page: 0.87897 seconds