Xbasic

UI_GET_PROPERTY_NAME Function

Syntax

Data as C = ui_get_property_name(C objectname [,C default_value [,C title [,C style [,N width ]]]])

Arguments

Data

The value of the selected object property.

objectname

The name of an object on a layout.

default_value

Optional. Default = "". The default property selection.

title

Optional. Default = "". The title of the dialog box.

style

Optional. Default = "". Any non-null value displays a drop-down list.

width

Optional. Default = 0. The width of the dialog in characters.

Description

The UI_GET_PROPERTY_NAME() function displays a dialog box with that lets you select any object property and view its current value.

Example

This example attached to a button a form displays the properties of the embedded browse named browse1.

data = UI_GET_PROPERTY_NAME(":Customer_Information:Browse1", "Code.CanArrive", "Object Properties","X", 70)
ui_msg_box("Browse Properties", data)

Limitations

Desktop applications only.

See Also