MDI Child Forms |
Post Reply |
Author | |
giobra
Newbie Joined: 02 March 2010 Location: Italy Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 02 March 2010 at 6:44am |
Hi all,
I'm tryng to use Toolbars in my application written in Unify Team Developer. After succcessfully created the toolbar into an MDI container, i'm not able to open more than 1 child form, because the second one seems to hangs the entire application. If i open only 1 form everything it working well ( seems to be ) I've created the activex control directly to the toolbar space on the MDI and then associated to MDI with AttachToWindow function on the Create event. Any idea? Giorgio |
|
giobra
Newbie Joined: 02 March 2010 Location: Italy Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Just to explain what happens
all i've done is 1) put an istance of Activex on MDI's toolbar in design mode 2) call AX.AttachToWindow( hWndMDI ) ---- without this call i cannot see any toolbar 3) call AX.LoadDesignerBars( 'test.xcb', optional ) ---- default toolbar from designer 4) call AX.ShowTabWorkspace( TRUE ) --- this only to see what happens after that i create the 1st form as a child of MDI and everything is going well also closing and re-opening the same or different forms ( 1 at the time ). When i open the second child in the same way i see the strange effect on the first one and starting from that point i cannot do any action. Also the tab show only the secon title and the first one is rendered only as icon If I close the foreground form the application crash. Thank to everyone who wants to help me. Giorgio |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |