[Gambas-user] Forms Pixel Size Controls

Caveat Gambas at ...1950...
Thu Mar 31 09:45:14 CEST 2011


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.
> 






More information about the User mailing list