Livecode Wiki
Advertisement

Gets the value of a property of a native mobile control created using mobileControlCreate.

Syntax:

mobileControlGet ( <id Or Name>, <propertyName> )

Examples:

mobileControlCreate "browser", "mybrowser"
put the result into tControlID
put mobileControlGet(tControlID, "rect") into tBrowserRect
put mobileControlGet("myControlName", "visible") into tVisibility
if tVisibility is true then
  ...
end if

Use the mobileControlGet function to get the value of of a native mobile control created with mobileControlCreate. See mobileControlSet for the list of properties.

Advertisement