|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > PlugIn-Commands > PIS. - PlugIn Send > PlugIn Commands |
MiniRobotLanguage (MRL)
PIS.SetToolTip
Add or remove Tooltips from the Buttons

Intention
Add descriptive tooltips to your buttons using this command.
You can also remove tooltips by sending "notext" as tooltip text.
#tooltips #buttons
Syntax
PIS.P1|SetToolTip|P2|P3
Parameter Explanation
P1 - Variable which contains the PlugIn Index-No.
P2 - Button Number, starting with "1"
P3 - Text that should appear as Tooltip on the Button. To remove the Tooltip use "notext" as Parameter.
%n will be replaced with the Button Number
%c will be replaced with $crlf$
Example
'***********************************
' PIS.-Sample
' This is just a code Sample taken from the "Adanced Twitterbar" in Sample Code
' this will not run as it is.
'***********************************
' Use:
' %SetColor &H4D94FF|&H3366FF
: %SetColor 2
ARR.Sin|0|$$NUM|§§§02
ARR.Sin|1|$$NUM|§§§03
END%
'-----------------------------------------------------------
' Use:
' %MakeButton &HFFD6D6|&HFFB3B3|Dict.
: %MakeButton 3
$$NUM=#aiv#
%SetColor $$NUM|§§§01|§§§02
PIS.$$REA|sBt|$$NUM|$$NUM. §§§03
GSB.SetCol|$$NUM
PIS.$$REA|SetToolTip|$$NUM|Hello I am Button Nr. $$NUM
END%
'-----------------------------------------------------------
Remarks
-
Limitations:
-
See also:
•