When reparenting into a widget that has its own container (e.g. a form or a panel), set parentwidget to that widget's container
Source position: msegui.pas line 2405
public property twidget.parentwidget : twidget |
When reparenting into a widget that has its own container (e.g. a form or a panel), set parentwidget to that widget's container — or call its insertwidget — rather than to the widget itself.