[Gambas-user] Changing window size from code
Benoit Minisini
gambas at ...1...
Wed May 11 17:42:39 CEST 2005
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 :-)
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list