It's not very clear to me what you're asking...if you just want to set the form size in code, use:
PUBLIC SUB Form_Open() ME.Width = 600 ME.Height = 800 But if this is really all you need then even simpler is to set the Width and Height attributes in the designer... ...or are you looking for something more, like detecting the size of the user's display? I don't get your "800 x 600 => output will be 1024 x 695" line. What do you mean by output? The form size?? What is 800 x 600, the screen? If you make the form 800 x 600, why would you want anything ('output'??) on the form to be bigger? Regards, Caveat On Thu, 2011-03-31 at 11:37 +0530, Ganesh Kumar wrote: > Hi Guys, > > I am new to gambas , how to forms size controls I have fixed size > > 800 x 600 => output will be 1024 x 695 > > I want required size 800 X 600. How to set forms size in correct manner. > please help me.. > > -Ganesh. > ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user