[Gambas-user] Changing window size from code
Eilert
eilert-sprachen at ...221...
Wed May 11 18:21:54 CEST 2005
Benoit Minisini schrieb:
> On Wednesday 11 May 2005 16:49, Eilert wrote:
>
>>In a dialog window, it should be possible to change its size by
>>
>>dlgDialog.Height = something...
>>
>>In my dialog here, it doesn't. The beast doesn't care at all :-)
>>
>>What am I doing wrong?
>>
>>The reason for this is that there is a changing number of input
>>TextBoxes, and the window is to change accordingly in size to look nice.
>>I tried the command in Form_Open and in Form_Activate, it doesn't have
>>any effect.
>>
>>Rolf
>>
>
>
> You must set Window.Border to Window.Resizable, change the size of your
> dialog, and set Window.Border to Window.Fixed back.
>
> One of many funny Gambas things :-)
>
Aaaah - ok. This runs, thank you.
Have a nice evening!
Rolf
More information about the User
mailing list