Syntax
Public Function PositionGetString(propertyID As ENUM _POSITION_PROPERTY_STRING ,ByRef strVar As Variant)As Boolean
Description
This function is usedto get a string information about the selected position according to agiven property ID and sets the result on strVar parameter.
Parameters
Key | Description |
PropertyID | The property IDwant to get it. Value of type isENUM _POSITION_PROPERTY_STRING |
StrVar | The property value. Value of type is String |
Return value
Returns true if successful, otherwise returns false. In order to get theerror, call GetLastError () function.
Sample
Public Sub Main() Dim Comment Dim Ticket Ticket = PositonGetTicket (1) PositionSelect (Clng (Ticket)) Returns True if position selected successfully PositionGetString POSITION_COMMENT, Comment AlertMessage (Comment) End Sub
See Also