[Gambas-user] Rule to set form Height
isafiur at gmail.com
Sat May 1 07:57:13 CEST 2021
Both of your method don't work. Still resize process continues for
This behavior is only with qt4/qt5. This problem is not with gtk3.
Please check it using project I have attached.
On 4/30/21, Safiur Rahman <isafiur at gmail.com> wrote:
> In a module (Module1):
> Private $DeskHeight As Integer = 1150 ''1200 ''1386 ''1100
> Public Sub SetFromSize(frm As Form)
> Print CStr(Now()) & " : " & $DeskHeight
> frm.Height = $DeskHeight
> frm.Width = Screen.AvailableWidth
> frm.Left = 0
> frm.Top = 0
> In a form:
> Public Sub Form_Resize()
> If form Height =1150 or 1200 then the procedure runs several times
> If form Height = 1100 or 1386 then the process runs one or two times.
> Is there any rule to set form height? I am using QT5.
> Safiur Rahman
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14831 bytes
Desc: not available
More information about the User