WinControl wmsize loop detected after form resize
Original Reporter info from Mantis: wladkuzin
-
Reporter name: Wladislav
Original Reporter info from Mantis: wladkuzin
- Reporter name: Wladislav
Description:
I was trying to emulate MDI interface - then creating child form (not visible), i set its parent to main form and align to AlClient. Then set visible to true.
Work good, but if main form resized, I got this exception
If i ignore exception, it will continues to work correctly
Steps to reproduce:
Create main form (FrmMain)
create second form (FrmChild), with visible:=false;
Frmchild.parent:=FrmMain;
FrmChild.align:=AlClient;
FrmChild.show;
then resizing FrmMain, you got WinControl WMSIZE loop detected exception
if you press OK, program works correctly
Additional information:
I've edited Wincontrol.inc, works good now without exception.
sorry, Im not good in tortoiseSVN, but i tried to make patch file, here it is
Mantis conversion info:
- Mantis ID: 24869
- OS: win32
- OS Build: 7
- Build: from 0.9.28 up to 1.11 SVN
- Platform: i386
- Monitored by: » wladkuzin (Wladislav)