GetMobileText()

Syntax

String$ = GetMobileText(#Mobile)
Description
Returns the text content of the specified mobile object.

Parameters

#Mobile The mobile object to use.

Return value

Returns the text content, or an empty string if the mobile object does not support text content.

Example

  If ContainerMobile(#PB_Any, #PB_Mobile_Page)
    ButtonMobile(0, "Hello World")
       
    Debug "Gadget 0 text content: " + GetMobileText(0)
    
    CloseMobileContainer()
  EndIf

See Also

SetMobileText()

Supported OS

All

<- GetMobileState() - Mobile Index - HtmlMobile() ->