mui.Get -- get value of a MUI object attribute
r = mui.Get(id$, attr$)
This function can be used to retrieve the current value of the attribute attr$ in the MUI object specified in id$. Attribute names and object IDs are case insensitive, i.e. it does not matter if you use upper or lower case characters for them.

The attributes that you can use with this function depend on the class of the specified MUI object. Have a look at the class reference to see what attributes are supported by the different MUI classes. In order to use an attribute with this function, it needs to have an applicability of "G". Attributes of Area class and Notify class can be used on almost all other classes because the Area and Notify classes act as superclasses for most of the other classes.

identifier of MUI object to query
attribute whose value should be retrieved
current attribute value
DebugPrint(mui.Get("my_listview", "active"))
The code above returns the index of the currently active entry in the listview that has the identifier "my_listview" by querying the Listview.Active attribute.

Show TOC