ChangeBorderThicknessPressed

Parent Previous Next

ChangeBorderThicknessPressed

This function configures the border thicknes of the button when pressed.


Function Definition:


void ChangeBorderThicknessPressed( int left, int top, int right, int bottom);


.     int left: A integer parameter that represents the left border of the button.

.     int top: A integer parameter that represents the top border of the button.

.     int right: A integer parameter that represents the right border of the button.

.     int bottom: A integer parameter that represents the bottom border of the button.



To configure this function, follow the steps below:


1.   In a object event, configure the ChangeBorderThicknessPressed function: ButtonObjectName.ChangeBorderThicknessPressed(left, top, right, bottom);


2.   During the execution of RunTime, run the configured event.



Example:


In the graphic document, the user has one Button object (named as Button1). In a Button object (named as Button2) the user configures the MouseUp event with the following event:


Button1.ChangeBorderThicknessPressed(4, 4, 4, 4);


In this event, the Border Thickness of the Button when pressed has changed to 4.


  

 

Note: This property exists only to the following objects:

.     Button