Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3213
| From | Mathias <mathias.hakansson@consultec.se> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Window size and controls position |
| Date | 2012-03-19 23:25 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <30579028.3923.1332224745011.JavaMail.geo-discussion-forums@vbbfy7> (permalink) |
| References | <8c5b097f-374a-4305-a6fd-d47c8f240103@er9g2000vbb.googlegroups.com> |
Hi Ian, There is a setting called Owner alignment in the window editor. With this setting you can decide what should happen with the control when the window it resides in changes it's size. Search for "owneralignment" in the VO help file and learn the basics. You should also make a plan for your windows for which controls that should adjust it's size and which should move and which should stay where they are. I find it a little bit difficult myself to figure out exactly which setting each control should have, so I usually take a channce on the most probable and then test different settings a few times until I get it right. /Mathias Den söndagen den 18:e mars 2012 kl. 21:41:55 UTC+1 skrev Ian: > Hi All, > > My app has been designed to fit a screen resolution of 1024*768. More > of my customers are now using screen resolutionsof 1280*1024 or > 1440*900. > > When my app runs the shell is shown zoomed and my other datawindows > are set to a size of 1003*634 so they sit at the top left corner of > the shell and fit perfectly on a screen resolution of 1024*768. > > Nearly all of the datawindows that show at this size contain either > one or two tab controls each with a number of pages and one or two > bBrowsers and of course there are pushbuttons radio buttons and so on. > The tab controls also have bBrowsers and push buttons etc on them. > > What I would like to do is to get the shell to open to suit the size > of the clients screen and then get my other datawindows to open up to > fit the size of the shell rather than their current fixed size of > 1003*634. > > I would need the tab controls and bBrowsers on the datawindow to > resize accordingly and although I do not need to resize the other > controls I would like them to reposition themselves to suit the new > datawindow size. As these datawindows contain tab controls that would > be resized, the bBrowsers on those tab pages would need to resize and > the other controls need to reporition themselves to suit the tab pages > new size. > > All of the windows and tab pages have groupboxes on them so they would > need to resize as well. > > There are many other data entry and data look up dialog windows in the > app but these do not need to resize. I only need this to work with the > datawindows not the datadialog windows > > Could anyone point me in the right direction with this and tell me if > there is any code available that I can drop into my app to cover this > subject. Customers are asking why the app does not fill their screens. > > Regardss, > Ian
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Window size and controls position Ian <ithomson@mikroaid.co.uk> - 2012-03-18 13:41 -0700
Re: Window size and controls position Mathias <mathias.hakansson@consultec.se> - 2012-03-19 23:25 -0700
Re: Window size and controls position "richard.townsendrose" <richard.townsendrose@gmail.com> - 2012-03-20 02:47 -0700
Re: Window size and controls position Ian <ithomson@mikroaid.co.uk> - 2012-03-20 06:32 -0700
Re: Window size and controls position "Jamal" <vodotnet_nospam@yahoo.com> - 2012-03-20 16:06 -0400
Re: Window size and controls position Ian <ithomson@mikroaid.co.uk> - 2012-03-20 13:33 -0700
csiph-web