<< Click to Display Table of Contents >> Navigation: 3. Script Language > PlugIn-Commands > PIS. - PlugIn Send > PlugIn Commands |
MiniRobotLanguage (MRL)
PIS.SetButtonsHDist Command
PIS.SetButtonsVDist Command
Set/Change Picture on Plugin-Buttons
Intention
The PIS.SetButtonHDist -Command will set or change the horizontal distance between the Buttons on a horizontal Buttonbar.
Please do not use values smaller then 4 to avoid painting problems.
PIS.$$REA|SetButtonsHDist|4
PIS.$$REA|SetButtonsHDist|50
PIS.$$REA|SetButtonsVDist|4
PIS.$$REA|SetButtonsVDist|50
Syntax
PIS.P1|SetButtonsHDist|P2
PIS.P1|sbhd|P2
PIS.P1|SetButtonsVDist|P2
PIS.P1|sbvd|P2
Parameter Explanation
P1 - Variable which contains the PlugIn Index-No.
P2 - Distance between Button in Pixel, if 0, the Value will not be changed.
Values below 4 are not recommended because these can lead to optical painting problems.
All commands are specific for the type of PlugIn used.
Example
-
Remarks
You can use up to 5 Plugins at the same time.
Just start them, each will get another Index.
To communicate with each PlugIn, you just give the PlugIn-Index to each command.
Button-Colors and transparency:
Please note that if you set Buttons transparent, that they can not have a background-color at the same time.
To set multiple Buttontext at once you can use:
PIS.$$PIN|sbt|all|Button %n
The "%n" is replaced with the number of that button.
The "all" and %n-scheme will also work with most other commands, where it makes sense.
Limitations:-
-
See also:
•