Re: How to use XControls?
- Posted by Tony Steward <tony.steward at gmail.com> Jan 27, 2005
- 452 views
what does this email mean? Not descriptive! Are you telling me findParentWindow(id) finds the grand parent? On Thu, 27 Jan 2005 18:33:45 +1100, Patrick Barnes <mrtrick at gmail.com> wrote: > > On Thu, 27 Jan 2005 17:52:45 +1100, Tony Steward <tony.steward at gmail.com> > wrote: > > For some reason when Autosize gets the parent id it gets the Main > > window not the child window that the item to be attached is on. > > > > My window has a three way split. 1st split is horizontal then top pane > > is split vertically. When is resize the horizontal split it triggers > > the onwinresize event in Autosize but when I move the vertical slider > > it does not. > > > > Hope this helps you to help me, which in turn may help you. (wow) > > Hmmm, well... > > global procedure attach_control(object id, object placement) > sequence winSize, objPlacement > integer parentwin > > --If id is a sequence, then recurse. > if sequence(id) then > for a = 1 to length(id) do > attach_control(id[a], placement) > end for > return > end if > > --Find the window this control is in, if none then fail. > parentwin = findParentWindow(id) > > > > > Thanks guys > > Tony > > > > On Thu, 27 Jan 2005 17:39:21 +1100, Tony Steward <tony.steward at gmail.com> > > wrote: > > > > > > No Autosize does not work with XControls. Autosize seems to get it > > > info from the main window not the window in an XContol pane. > > > > > > Still can't figure how to get geometry to size the elements in the > > > windows that have been created with vsplt or hsplit. > > > > > > BTW love Autosize have been using it for a while. Its great. > > > > > > Regards > > > Tony > > > > > > On Thu, 27 Jan 2005 09:39:29 +1100, Patrick Barnes <mrtrick at gmail.com> > > > wrote: > > > > > > > > Hooray, an Autosize user! > > > > > > > > I think it will work fine.. as long as the Xcontrols are compatible > > > > withi win32lib's setRect calls, etc... > > > > > > > > On Wed, 26 Jan 2005 08:53:03 +1100, Tony Steward <tony.steward at > > > > gmail.com> wrote: > > > > > > > > > > Hi Don, > > > > > Playing with your XControls library. > > > > > If I split a window and drag the spliter can I trap the resize event? > > > > > > > > > > Can I use Autosize.ew from the eu archives with XControls or any other > > > > > auto resizing tool? > > > > > > > > > > -- > > > > > Regards > > > > > Tony Steward > > > > > > > > > > > > > > -- > > > > MrTrick > > > > > > > > > > > -- > > > Regards > > > Tony Steward > > > www.locksdownunder.com > > > > > > IF IT IS TO BE IT IS UP TO ME! > > > > > > > > -- > > Regards > > Tony Steward > > www.locksdownunder.com > > > > IF IT IS TO BE IT IS UP TO ME! > > > > > -- > MrTrick > > -- Regards Tony Steward www.locksdownunder.com IF IT IS TO BE IT IS UP TO ME!