[Gambas-user] ME.Height and Menus
tobias
tobiasboe1 at ...20...
Mon Sep 27 20:52:14 CEST 2010
Good evening,
i never had to use menues in my programs, but now i have to reproduce a
program written in delphi for our ubuntu computers at school, only for
education purposes (the program was also written by students, don't
worry ;)). this program has a menue and a simple textarea just under it
and i want to arrange the contents dynamically using the Form_Resize()
event. if i do TextArea1.Move(0, 0, ME.Width, ME.Heigth), the textarea
is just a bit too big for the form and this doesn't look very well. if i
set the menue to unvisible, all works properly. i now thought that i
just can PRINT ME.Height; " "; TextArea1.Height
and look up the difference to get the menue's height as a constant but
they are equal, so what's wrong with it?
regards,
tobi
More information about the User
mailing list