![]() |
Create RibbonBar at run-time |
Post Reply
|
| Author | |
Dev69
Groupie
Joined: 15 February 2007 Location: France Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Topic: Create RibbonBar at run-timePosted: 15 February 2007 at 4:16am |
|
Is it able to create a ribbonbar at run-time ?
I use Delphi and try the following code : constructor TRibbonBar.Create (AOwner: TForm); begin CommandBars1 := TCommandBars.CreateParented(AOwner.Handle); CommandBars1.OnCustomization := CommandBars1Customization; CommandBars1.OnUpdate := CommandBars1Update; CommandBars1.OnExecute := CommandBars1Execute; .../... end; When i click on the Customization menuitem, it crashes. (ie if i click on About menu) It seams that some initialization is missing Thanks for Help |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 February 2007 at 4:45am |
|
Hello,
Try CommandBarsframe control instead.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |