MATLAB GAUGES BLOCKSET RELEASE NOTES Guide de l'utilisateur Page 83

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 114
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 82
Using Your Own ActiveX Control
3-35
Additionally, you can choose an event on your control through which you want
to open the property editor. For example, write an M-file function to open the
property editor (or whatever you want the event to do). The function must take
multiple arguments, of which the first one will be the handle to the ActiveX
control. For example, a simple function to open the property editor of a control
would look like this:
function axeventhandler(varargin)
propedit(varargin{1})
Next enter an event with the handler you just wrote in the Other Events and
Handlers
parameter field. Assume the keypress event is valid, the event and
handler entry would look like this:
{'keypress','axeventhandler'}
To use the error-checking code already written for the Dials & Gauges
Blockset, you can use the same handlers we use by entering
ax_block_dclk for
events that should open the property editor (note that the editor will not open
when the simulation is running). For example, to make a keystroke open the
property editor (assuming the
keypress event isvalid), enter the event and
handler pair as follows:
{'keypress','ax_block_dclk'}
Colors of ActiveX Control Blocks
ActiveX Control blocks that try to determine their color by inheriting from the
window in which they reside will not work properly in Simulink. More
specifically, ActiveX Control blocks that send the
WM_CTLCOLOR message to their
parent have this problem.
WM_CTLCOLOR is a Microsoft Windows message sent
by an ActiveX Control block to allow the parent container to determine the
color used by the control.
Caution Placing one of these controls in the ActiveX Control block will cause
MATLAB and Simulink to crash.
Vue de la page 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 113 114

Commentaires sur ces manuels

Pas de commentaire

Sony SLT-A65VM Handbücher

Bedienungsanleitungen und Benutzerhandbücher für CD Spieler Sony SLT-A65VM.
Wir stellen PDF-Handbücher Sony SLT-A65VM zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung






Weitere Produkte und Handbücher für CD Spieler Sony

Modelle Dokumententyp
CDX-V58MP Bedienungsanleitung   Sony CDX-V58MP User's Manual, 4 Seiten
D-VJ85 Bedienungsanleitung   Sony D-VJ85 User manual, 36 Seiten
MDX-C8900R Bedienungsanleitung    Sony MDX-C8900R Manual de usuario, 186 Seiten
HDX266/HDX267W Bedienungsanleitung   Sony HDX266/HDX267W User's Manual, 104 Seiten
CDX-M10 Betriebsanleitung       Sony CDX-M10 Operating Instructions, 116 Seiten
MEX-BT2700 Bedienungsanleitung    Sony MEX-BT2700 User's Manual, 56 Seiten
CDP-M555ES Bedienungsanleitung   Sony CDP-M555ES User's Manual, 48 Seiten
CDX-M30 Bedienungsanleitung       Sony CDX-M30 User's Manual, 144 Seiten
D-E660 Bedienungsanleitung   Sony D-E660 User's Manual, 32 Seiten
D-MJ95 Bedienungsanleitung   Sony D-MJ95 User manual, 28 Seiten
D-F21 Bedienungsanleitung   Sony D-F21 User manual, 24 Seiten
D-E561 Bedienungsanleitung   Sony D-E561 User's Manual, 2 Seiten
CDX-434RF Bedienungsanleitung    Sony CDX-434RF User manual, 4 Seiten
CDP-CX335 Bedienungsanleitung    Sony CDP-CX335 User manual, 68 Seiten
D-E551 Bedienungsanleitung   Sony D-E555 User manual, 2 Seiten
CDX-C910 Bedienungsanleitung    Sony CDX-C910 User manual, 62 Seiten
HAR-D1000 Bedienungsanleitung   Sony HAR-D1000 User's Manual, 36 Seiten
CFD-360 Bedienungsanleitung    Sony CFD-360 User manual, 60 Seiten
D-SJ01 Bedienungsanleitung   Sony D-SJ01 User manual, 24 Seiten
CFD-577 Bedienungsanleitung   Sony CFD-577 User manual, 36 Seiten