menu - Delphi MDI Child forms and MainMenu -
we upgrading delphi 5 application delphi xe7. application has number of mdichild (formstyle fsmdichild) forms open windowstate wsnormal. when open 1 of these forms, , close again, main menu (tmainmenu) on main form (formstyle fsmdiform) aligns right , never goes again. if resize mdichild form before closing (eg. click on "normal" or "minimize" icon), not happen.
this not happen delphi 5 version, assume gets handled differently xe 7.
anyone else experienced before? if so, how did fix it?
update:
i have replicated problem:
- create new vcl app
- make main form (mainform) formstyle mdiform
- create mainmenu mainform menu items
- create second form (childform)
- make childform formstyle mdichild
- create mainmenu childform menu items
- important (this breaks it): select childform bordericons bisystemmenu , bimaximise
- create button on mainform creates , shows childform
- run application
- click button
- maximise childform
- close childform (has maximised otherwise malfunction not occur)
- observe mainform's menu right-aligned unclickable 'minimise' icon on left if biminimise added childform's bordericons, problem disappears.
i'm pretty sure bug. correct me if i'm wrong.
thanks j
the behaviour report not observed when creating brand new project, , creating forms in manner describe.
clearly then, there code in project causing issue. need debugging identify problem code. start stripping code away until issue vanishes. last code stripped away should contain clues lead cause of thee problem. continue in manner until have isolated problem.
Comments
Post a Comment