[Gambas-user] Weird, form width alway return as 640

cwyong1 yongchiaowoei at ...626...
Tue Dec 29 15:56:22 CET 2009


Hi all
i m experimenting with the HelloWorld project and i m confused, pls tell me
what is wrong here. Thanking you all in advance

This is what i have added to the code

PUBLIC SUB _new()

END

PUBLIC SUB Form_Open()
DEBUG Form.width
END

PUBLIC SUB Button1_Click()

  DEBUG Form.width 

END

When i run the project, debug show this
FMain.Form_Open.8: 640

I then resize the window and on clicking the button 1, debug show this
FMain.Form_Open.8: 640
FMain.Button1_Click.13: 640

So, my question is how come the width is still showing 640 when the width
have increased.

Any idea pls ppls?

-- 
View this message in context: http://old.nabble.com/Weird%2C-form-width-alway-return-as-640-tp26955482p26955482.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list