![]() |
SOLVED: Create commandbars controls in run time |
Post Reply
|
| Author | |
ElvisM
Senior Member
Joined: 12 October 2006 Location: Venezuela Status: Offline Points: 129 |
Post Options
Thanks(0)
Quote Reply
Topic: SOLVED: Create commandbars controls in run timePosted: 06 November 2006 at 1:42pm |
|
Hi...
Is possible to create commandbars objects in run time?
Thanks
|
|
|
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits Language: Visual Basic 2015 |
|
![]() |
|
Waescher
Newbie
Joined: 15 September 2006 Location: Germany Status: Offline Points: 27 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2006 at 7:42am |
|
Yes it is...
Like this in VB6: private function CreateCommandBars(byval oForm as Form, byval sControlname as String, byval oParentControl as Object) as Object Set CreateCommandBars= oForm.Controls.Add("Codejock.CommandBars.10.3.1", sControlname, oParentControl) End sub The name must be unique, and dont forget to remove the control! ... Call m_Form.Controls.Remove(sControlname) ... |
|
![]() |
|
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 |