|
| non-Modal FBPopup disappears |
 |
Sun, 17 Jun 2007 18:48:58 +000 |
Hi,
I have a simple popup that I am trying to show from the FBCreate() function of
my FBTool:
FBPopup test;
test.Modal = false;
test.Region.X = 300;
test.Region.Y = 300;
test.Region.Width = 250;
test.Region.Height = 100;
test.Caption = "Test Popup";
test.Show(this);
The problem is that when I open the tool, the popup shows for one frame, and
then disappears. If I derive a version of FBPopup and put a breakpoint in
Close() I find even that's not being called.
However, if I set Modal to true, then it works fine, but then I can't interact
with my base tool. What am I doing wrong? Are non-modal popups not supported?
If so, is there another way I can launch interface windows from my tool? Maybe
launch another tool I create?
|
| Post Reply
|
|
|
|
|
|
|
|
|
|