How do I bring a TGFrame

Hi
I have made GUI with a TGFrame containing several widget. On response
to user actions I have other TGFrames popping up however it is hidden behind
the main GUI (also a TGFrame).

Is ut any whay to tell root wich frame to display on the top.

regards
Per Thomas Hille

Hi Per Thomas Hille,

You can use:gVirtualX->RaiseWindow(frame->GetId());You also may use TGMainFrame class for your main application and TGTransientFrame class for any needed dialog window, which will popup over the main window. Doing that you could use the method CenterOnParent of TGTransientFrame to precise its position.

Cheers, Ilka