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 #67298 is a reply to message #67171] Sun, 12 July 2009 16:51 Go to previous message
boshra afra is currently offline  boshra afra
Messages: 2
Registered: July 2009
Junior Member
On Jul 10, 10:38 pm, Loren <ander...@bu.edu> wrote:
> I wanted to do something like this a while ago and came up with a
> solution that may work for you.  In the event handler, somehow get the
> widget base ID of the base you'd like to add to, BaseID.  Within the
> event handler, do this:
>
> 1) Widget_Control, BaseID, Update = 0 ; makes things less jumpy
>
> 2) Create new widget base with all the buttons you want, and with the
> parent BaseID
> e.g.
> subBase = Widget_Base(BaseID, column....)
> buttonID = Widget_Button(subBase....)
>
> 3) Widget_Control, BaseID, Update = 1
>
> If you are *replacing* one base with another, you'll need to destroy
> the old base:
> 1.5) Widget_Control, subBase, /Destroy
>
> Is this what you wanted?
>
> -Loren

Hi Loren,

Thanks for your advice. I got it to work :)

Cheers
[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:47:56 PDT 2025

Total time taken to generate the page: 0.48179 seconds