Activex property editor
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear all,
I would like to edit the active control properties using a command rather than the user interface. That is, instead of:
1a. Using GUIDE
b. Insert ActiveX control
c. Right click the inserted ActiveX control to select "ActiveX Property Editor".
d. Assign the activex control property (in my case, load to the particular activex control file) using the "ActiveX Property Editor".
I would like to:
2a. Create a GUI in code (i.e., using the "figure" and "uicontrol" commands). E.g., fig1 = figure;
b. Insert ActiveX control using the "actxcontrol" command. E.g., h1 = actxcontrol('BVG6ACTIVEX.BGV6ACTIVEXCTRL.1','parent',fig1);
c. Edit the ActiveX control property with a command such as assignactxproperty(h1,'C:\Gauge\Dial.gauge'), where assignactxproperty is a made up command.
Is there such a command?
Yours faithfully, Alan Lai
0 Commenti
Risposte (1)
Walter Roberson
il 6 Apr 2011
I suggest you explore:
set(h1)
methods(h1)
functions(h1)
methods(handle(h1))
I do not know which (if any) of these will work, but they are what I would look at.
0 Commenti
Vedere anche
Categorie
Scopri di più su ActiveX in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!