Toolbar: Prevent resize infinite recursion.

[GB.FORM.MDI]
* BUG: Toolbar: Prevent resize infinite recursion.
This commit is contained in:
Benoît Minisini 2023-05-16 00:43:36 +02:00
parent f071d87d68
commit 9b7d44ce52
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
[Component]
Key=gb.form.mdi
Version=3.18.0
Version=3.18.90
Authors=Benoît Minisini
Needs=Form
Requires=gb.form,gb.settings

View file

@ -2,7 +2,7 @@
Title=Multiple document interface management
Startup=FMain
Icon=.hidden/control/workspace.png
Version=3.18.0
Version=3.18.90
VersionFile=1
Component=gb.image
Component=gb.gui

View file

@ -398,8 +398,6 @@ Private Sub Update()
'dwgHandle.Refresh
$bLock = False
If sepToolbar.Visible Then
If $bReallyVertical Then
Inc W
@ -416,6 +414,8 @@ Private Sub Update()
Me.Parent.Resize(W, H)
Endif
$bLock = False
SetArrangement
End
@ -426,20 +426,20 @@ Public Sub TimerUpdate_Timer()
End
Public Sub Form_Resize()
If $bLock Then Return
$hTimerUpdate.Trigger
End
Public Sub Container_Arrange()
If $bLock Then Return
$hTimerUpdate.Trigger
End
Public Sub panToolbar_BeforeArrange()
If $bDesign Then Return