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

Home » Public Forums » archive » Re: GUI resize
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: GUI resize [message #42175] Fri, 07 January 2005 19:44
n is currently offline  n
Messages: 5
Registered: January 2005
Junior Member
Sorry for the inconvenience - dynamic_resize=1 ......

Cheers

Soren

"Soren" <newsgroupie2003@yahoo.dk> wrote in message
news:d1447cec.0501071616.17284755@posting.google.com...
> Hi,
> I have trouble with repositioning buttons in a GUI.
> My GUI consists of 2 slide bars, 2 buttons and a draw widget.
> I use a callback via /tlb_size_events to handle user resizing and it
> works fine for all the menchioned widgets except the 2 buttons.
> I try to set their xoffset and y offset like the rest of the widgets,
> but they fail to respond. They do respond to changing the value
> property.
> Here is a bit of the code:
> widget_control, (*handles).BUTTON1, xoffset=BUTTON1_x,
> yoffset=buttons_y
> widget_control, (*handles).BUTTON2, xoffset=BUTTON1_x,
> yoffset=buttons_y
> widget_control, (*handles).drawzone, offset=drawzone_x,
> yoffset=drawzone_y, xsize=drawzone_width, ysize=drawzone_height
>
> widget_control, (*handles).slider_horz, xoffset=horzslider_x,
> yoffset=horzslider_y, xsize=horzslider_width
>
> widget_control, (*handles).slider_vert, xoffset=vertslider_x,
> yoffset=vertslider_y, ysize=vertslider_height
>
> Only the calls to the sliders and the draw widget change positions of
> the respective widgets.
>
>
> What am i missing?
>
> Best regards
> Soren
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: GUI resize
Next Topic: Re: plotting rotating vectors in a sequence

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

Current Time: Wed Oct 08 17:09:12 PDT 2025

Total time taken to generate the page: 0.00653 seconds