Activex property editor
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Walter Roberson
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu ActiveX finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!