×
Menu
Index

3.6.1.9. UserButton

 
The UserButton object allows to manage Customizable Buttons
 
 
 
Methods:
 
Type
Method
Description
void
void : SetTitle(<string> newtitle)
 
Description:
   Set button title
Params:
  newtitle: string
String
String : GetTitle()
 
Description:
  Gets the button title
 
Returns
  buttons title: string
void
void : SetTooltip(<string> newtitle)
Description:
   Set button tooltip
Params:
  newtitle: string
void
void : SetVisible(<short> visible)
 
Description:
  shows/hides the button
 
Params:
  0: hide
  1: show
short
Short : GetVisible()
 
Description:
  Gets the visivility of a button
 
Returns:
  0: hide
  1: show
 
void
void : SetEnabled(<short> enable)
Description:
  Enables/Disables the button
 
Params:
  0: disable
  1: enable
short
Short : GetEnabled()
 
Description:
  Gets the visivility of a button
 
Returns:
  0: disable
  1: enable
void
void : SetWebStyle(<string> newtitle)
Description:
   Set button style
       btn-success
       btn-primary
       btn-info
       btn-warning
       btn-danger
 
Params:
  newstyle: string
String
String : GetWebStyle()
Description:
  Gets the button stype
 
Returns
  buttonstyle: string