dOPC Client Toolkit Help file
TdGUIItem Class
public: class TdGUIItem : public TdOPCGUIItem;
public class TdGUIItem : TdOPCGUIItem;
Visual Basic
Public Class TdGUIItem
Inherits TdOPCGUIItem


stores the one assignment between OPC Item and TControl component 

TdGUIItem represents an association between a property (e.g. Text) of a visual Control (e.g. TEdit) and a TdOPCItem.

TdGUIItem Events 
OnChangeData provides the ability to overwrite the default instructions given to a visual control when the value of the associated TdOPCItem changes. 
TdGUIItem Methods 
adds a new Item to the dOPCItem.GUIItems List 
set dopcItem from Groupname and Itemname 
GetNamePath returns the name of the associated control. 
SetValueToControl copies the passed ItemValue to the associated control property. 
TdGUIItem Properties 
With this property it is possible to select a single item of an OPC array. 
Control represents the TdOPCControl from which property value changes will be read. 
CtrlPropName represents the property of the associated control that shall be set (e.g. 'Text'). 
With the help of this property it is possible to format the values
(see also function SysUtils.Format) e.g. <%s>, %.3d, ... 
OPCGroup contains the name of a TdOPCGroup where the OPCItem belongs you want to connect to an associated control. 
OPCItem represents the ItemID of a TdOPCItem (e.g. 'Random-String') you want to show in an associated control. 
Tag has no predefined meaning. 
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH ( All rights reserved.