Activex property editor
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 6 de Abr. de 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 comentarios
Ver también
Categorías
Más información sobre ActiveX en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!