Delphi 2007 - ManualFloat causes widget controls to float above all other windows -


we have widget controls in delphi 2007 application. widgets inherit twincontrol. on widget call tcontrol method manualfloat undock widget.

the issue when mainformontaskbar true calling manualfloat gives widget stayontop behavior causing float above windows including other applications. issue because if open modal dialog form appears behind widget. when mainformontaskbar false modal dialogs appear on top of widgets.

does know how can resolve issue not allowing widgets become topmost or @ least shed light on possible solution/workaround? guess widget getting parented application.mainform.handle , why i'm getting behavior.

thanks in advance.

did try force parent of widget main form ?

mywidget.manualfloat(screenpos);     mywidget.parent := mymainform; mywidget.parentwindow := mymainform.handle; mywidget.left := left desired  mywidget.top := right.desired;  

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -