Adding Combobox object to the toolstrip
Elements are in the object called by index number which starts from 0.
When selected index changed, new index number will be written to connected tag.
When connected tag's value changed, the element is selected which indicates by tag. If tag's value is negative, index number 0 selected. If tag's value bigger than maxiumum index, maxiumum index selected.
Toolstrip Combobox object properties
Text Gurubu:
Made up by Font and Tool Tip properties.
Toollstrip Combobox - Text group properties
Toollstrip Combobox - Font property
Toollstrip Combobox - Back Color group
Toollstrip Combobox - Function property
Item Gurubu:
Made up by Add New Item, Delete Selected Item and Clear All Items properties.
Özellikleri:
ToolStrip Combobox object has a 10 property group as Item, Text, Fore Color, Back Color, Alignment, Style, Visible, Value, Function and Enable.
Combobox object located the Properties - Item - Add New Item group in the menu. The Menu show up when right clicked on empty space in ToolStrip.
Border Style:
It has 2 combobox for making selections.
First one for Border Style selection,
Second one for style and whether user can change text on it.
Auto Size
Specifies if combobox size changed with toolstrip automaticaly.
Toollstrip Combobox - Animation - Visible property
Toollstrip Combobox - Value property
Toollstrip Combobox - Enable property
The object for making a selection from multiple options in the ToolStrip.
Add New Item:
Adds new item to Combobox.
Clear All Items:
Clears all items in Combobox.
Toolstrip Combobox - Item - Clear All Items property
Toolstrip Combobox - Item - Add New Item property
Toolstrip Combobox - Item - Delete Selected Item property
ToolStrip Combobox - Tool Tip 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.
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.
Tool Tip in Development Mode
ToolStrip Combobox - Fore Color group
ToolStrip Combobox - Fore Color - On Color property
ToolStrip Combobox - Fore Color - Off Color property
ToolStrip Combobox - Back Color- On Color property
ToolStrip Combobox - Back 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.
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.
On color:
The color for the background when tag' s value bigger than 0 which selected from Tag list.
Off color:
The color for the text background when tag' s value negative or 0.
Back Color Group:
Used for determining Background Color for the text. It has On Color and Off Color properties.
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.
Toolstrip Combobox - Style group
Style Group:
Contains Auto Size and Border Style properties.
Border Style Selection:
Flat, Popup, Standart and Syste can be selected.
Determining combobox style and whether text can be changed by user:
Simple: Used when it is want to be used as list view.
It has 3 option: Simple, DropDown and DropDownList.
DropDown: With this option, text can be changed.
DropDownList: Text can not be changed with this option.
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.
Value:
When selected index changed, new index number will be written to connected tag which connected to value property.
When connected tag's value changed, the element is selected which indicates by tag. If tag's value is negative, index number 0 selected. If tag's value bigger than maxiumum index, maxiumum index selected.
Function:
The functions which will be run when selected index changed are defined here. Function window opens when clicked selected index changed property.
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.
Toolstrip Combobox - Style - Auto Size property
Toolstrip Combobox - Border Style property
Alignment Gurubu:
Specifies button's alignment and position among the other toolstrip elements.
Toolstrip Combobox - Alignment group
Toolstrip Combobox - Border Style
Toolstrip Combobox - Drop Down Style
Adding Combobox to ToolStrip
Toolstrip Combobox and Items