A. Notes
• A VBA object is anything in the application that can be referenced and manipulated
• An object represents an element of an application, such as a worksheet, a cell, a chart, a form, or a report
B. Examples
- Common iFIX objects are:
– Rectangle, Oval, Text, Bitmaps, Pictures
– The following lists contains the iFIX objects that are available within VBA
| Object |
|---|
| Alarm Summary |
| Application |
| Arc |
| Bitmap |
| Chart |
| Chord |
| Color Button |
| ControlContainer |
| DataItem |
| DataItems |
| DataLink |
| DataServer |
| DataServers |
| Document |
| Documents |
| DynamoSet |
| Event |
| ExpressionEditor |
| FindReplace |
| FixDataSystem |
| FixFloatPoint |
| Format |
| Group |
| Group (DataSystem) |
| Groups |
| Legend |
| Line |
| Linear |
| Lines |
| Lookup |
| Oval |
| Pen |
| Picture |
| Pie |
| Polygon |
| Polyline |
| Procedures |
| Rectangle |
| RoundRectangle |
| Scheduler |
| ScriptLine |
| ScriptProcedure |
| ScriptSource |
| Sources |
| System |
| Text |
| TimeAxis |
| Timer |
| UserGlobals |
| ValueAxis |
| Variable |
| Window |
- Objects used frequently within VBA include:
– Forms, Collections, Applications
C. Additional Notes
- The properties, methods, and events available for an individual object are based on the object class
– Example:
rectangle objects have their own class
rectangle objects do not have the same font properties as text objects
- Objects respond to events based on scripts that are written for each event
– scripts can be written for one event, some events, or all events, depending on what needs to be accomplished
【注】参考iFIX技术文章:iFIX VBA对象大全可对iFIX VBA 所有Object进行查看
【注】参考iFIX技术文章:iFIX VBA对象结构层级以了解各个对象之间的层次结构



很久没来了,今天过来看看!
加油!博主!
路过.留个评论.