Replace Control |
Post Reply |
Author | |
VDF2
Groupie Joined: 03 February 2014 Location: Hengelo Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 01 July 2021 at 11:33am |
Does anyone know whether it is possible to change the control type of a commandbar control? So I have a control of the type xtpControlComboBox and I want to change this to xtpControlEdit.
So far all I could do is create both controls and toggle the visibility of the control. I would like to change the Type property of the control. I looked whether I could remove the control from the controls collection but I could not find a method for that either.
|
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(1)
|
The CommandBarControl object has a .Delete method that you can call to delete the unwanted control.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
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 |