WinStudio
IWSIDOCollection interface
Returns a string containing the value of a specified object property in an IDO collection.
object.GetCurrentObjectProperty( string )
Part |
Description |
object | Required. A reference to an IDO collection object. |
string | Required. The name of the object property. |
The return value is a string containing the value of the object property for the currently selected record. For this method, the return value for date and numeric values is based on WinStudio internal settings (as compared with the GetCurrentObjectProperty method, which uses local user settings).
Sub Main() Dim ReturnValue As String ReturnValue = ThisForm.PrimaryIDOCollection.GetCurrentObjectPropertyInternal("LanguageDesc") Application.ShowMessage("Object property value: " & ReturnValue) End Sub
Sub Main() Application.ShowMessage("Object property value: " _ & ThisForm.GetSecondaryIDOCollection(2).GetCurrentObjectPropertyInternal("EventName")) End Sub
GetCurrentObjectProperty Method