Activex property editor

12 ビュー (過去 30 日間)
Alan
Alan 2011 年 4 月 6 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 4 月 6 日
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.

カテゴリ

Help Center および File ExchangeActiveX についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by