INSERT INTO `wStats` (`Date`,`UID`,`URL`,`ARGS`,`IP`,`Referer`) VALUES ("2010-09-10 11:38","1284130208-8785090","docs.mioplanet.com/pushbutton_text_set.php","","38.107.191.117","") pushButton.text.set | MioScript | MioFactory | Mioplanet Documentation Center
  Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | pushButton.text.set SEARCH    

  Functions
pushButton.create
pushButton.text.get
pushButton.text.set

  Events
pushButton:mouse:click

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
pushButton.text.set

Language: MioScript
Product: MioFactory


Syntax

pushButton.text.set(pushButtonID, label)


Parameters

IDpushButtonIDID of the push button.
STRINGlabelNew label of the push button.


Return value

No value is returned.


Description

Set the label of the specified push button.




MioScript Sample Code

&myButton = pushButton.create(10,10,100,20, "wait...")

pushButton.text.set(&myButton, "Ok")