Activex property editor

조회 수: 16 (최근 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 CenterFile Exchange에서 ActiveX에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by