SetMobileText()

Syntax

SetMobileText(#Mobile, Text$)
Description
Changes the text content of the specified mobile object.

Parameters

#Mobile The mobile object to use.
Text$ The new text content.

Return value

None.
  If ContainerMobile(#PB_Any, #PB_Mobile_Page)
    ButtonMobile(0, "Hello World")

    SetMobileText(0, "New Text !") ; Change the text after creation
    
    CloseMobileContainer()
  EndIf

See Also

GetMobileText()

Supported OS

All

<- SetMobileState() - Mobile Index - ShowMobile() ->