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

Home » Public Forums » archive » Re: Widget creation performance
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: Widget creation performance [message #47312] Fri, 03 February 2006 09:01 Go to previous message
Ricardo Bugalho is currently offline  Ricardo Bugalho
Messages: 22
Registered: March 2005
Junior Member
Hello,
that solved the issue.
Thank you David!

On Fri, 2006-02-03 at 09:17 -0700, David Fanning wrote:
> Ricardo Bugalho writes:
>
>> I'm having some trouble with the performance of widget creation.
>> One of the components in my program contains a list of items, for which
>> I need to have a few labels and buttons per entry.
>> To achieve this, whenever the item list changes, I destroy the list's
>> base widget and then recreate a new base for my entry list and the
>> entries' widgets.
>> But it's slow. I can actually see IDL redrawing the widgets. The problem
>> seems to be that for every widget I add, IDL reorganizes the layout.
>> Does anyone have any ideias?
>
> Turn updating off for your top-level base widget until you
> are finished creating your new widget, then turn it back on.
>
> Widget_Control, tlb, UPDATE=0
> ..... do your widget thing here....
> Widget_Control, tlb, UPDATE=1
>
> Cheers,
>
> David
>
[Message index]
 
Read Message
Read Message
Previous Topic: Widget creation performance
Next Topic: Re: Suppressing diagnostic messages en masse

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

Current Time: Sat Oct 11 13:55:57 PDT 2025

Total time taken to generate the page: 0.88387 seconds