ToolStrip Button object properties
Text Group:
Contains On Text, Off Text, Font, Text Align, Text Direction and Tool Tip properties.
Style Group:
Contains 3 property group as a Auto Size, Display Style and Text Image Relation.
Visible Group:
Used for determining object visibility. If tag's value 0 or negative which selected from tag list, object becomes hidden, if value bigger than 0 object becomes visible.
ToolStrip Buton - Fore Color group
ToolStrip Buton - Fore Color - On Color property
Toolstrip Buton - Style group
Toolstrip Buton - Visible property
ToolStrip Buton - Enable property
Toolstrip Buton - Function property
Text Direction:
Specifies direction of text inside the button.
Alignment Group:
Specifies button's alignment and position among the other toolstrip elements.
Auto Size property specifies whether button resized with toolstrip or remain fixed size.
Display Style property specifies that text, image or both displayed in the button.
Text Image Relation property specifies that display type of picture and text in the button.
ToolStrip Button - Text gurubu
ToolStrip Buton - Text - On Text property
ToolStrip Buton - Text - Off Text özelliği
ToolStrip Button - Text - Yazı Yönünün belirlenmesi
Toolstrip Buton - Alignment group
Toolstrip Buton - Style - Auto Size property
Toolstrip Buton - Style - Display Style property
Toolstrip Buton - Style - Text Image Relation property
Used as a button. Additionally, it can bu used as a jog button in order to run different functions when user pressed and released it by mouse down and mouse up functions.
Adding a Button to ToolStrip
Adding to ToolStrip:
Button object located in a combobox inside the Properties - Item - Add New Item group in the menu. The Menu show up when right clicked on empty space in ToolStrip.
Properties:
ToolStrip Button object has a 9 property group as Text, Image, Fore Color, Back Color, Alignment, Style, Visible, Function and Enable.
On text:
The text which will be located in the object when the tag's value bigger than 0, which selected from the tag list that locates in this menu group.
Off text:
The text that will be shown in the object when the tag's value equal or less than 0. This tag is selected from the tag list which locates in this menu group. If it is desired to show fixed text in the object, this text should be entered to Off Text property and tag should be selected as NotSet.
ToolStrip Buton - Font property
Font:
Property for changing the Font.
Regular, Italic, Bold, Bold Italic properties and Strikeout and Underline effects of the text can be changed from Font window.
ToolStrip Button - Text Align property
Text Align:
Used for aligning the text inside the object.
ToolStrip Buton - Tool Tip property
Tool Tip in Development Mode
Tool Tip:
The message which will be shown when mouse waits on the object.
In the development mode, as a Tool Tip, objects name and message shown.
In the Runtime, only message shown.
ToolStrip Buton - Fore Color - Off Color property
Fore Color Group:
Used for determining object's Fore Color. It has On Color and Off Color properties.
On color:
The color for the text when tag's value bigger than 0 which selected from Tag list.
Color selection window opens when clicked little box under On Color property.
If you want to use different color than standart colors, you can define a custom color by clicking Define Custom Color button.
Off color:
The color for the text when tag' s value negative or 0. If you want to use constant color without connect a tag, you should select NotSet form the Tag List.
ToolStrip Buton - Back Color group
ToolStrip Buton - Back Color- On Color property
ToolStrip Buton - Back Color- Off Color property
Background picture selection window
Back Color Group:
Used for determining background color and picture for the text. It has On Color and Off Color properties.
For the background, you can select a picture by clicking background image.
On color:
You can specify background picture and background color when tag's value bigger than 0 which selected from Tag list.
Off color:
The background color, picture and it' s position when tag' s value negative or 0 which selected from tag list.
The position that applied for Off Color will be applied to the On color as well.
Function:
The functions for Mouse Down and Mouse Up events which occurs when user clicked on the object are defined here.
Function window opens when user clicked on this properties.
Enable:
When tag's value bigger than 0, which selected from tag list, object becomes active. On other cases object is disabled.
This property can be used when accessing to object is wanted to be controlled. Additionally, accessing to object can be controlled according to User Level with PasswordLevelX tags.