Quick Find: Search for:

 Total Access Components
Control Tour

Return to Components Home
 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About Box

AVI (Video)

Bitmap Effects

Border
Browse for Folder New!
CD Player
Clipboard
Clock
Common Dialogs
Date Time Picker New!
Digital Display
Enhanced Button
Gauge
Icon Menu
INI File
Marquee
Notes
Popup Menu
Progress Meter
Registry
Resize
Slider
Spin Button
Splitter
System Info
Tab Strip
Text Effects
Timer
Wave
 

 

Total Access Components Tour: Icon Menu

The Icon Menu control allows an alternate form of menu selection. This control displays a series of icons similar to Microsoft Outlook.

Using the Icon Menu Control

There are three basic steps for using the Icon Menu control:

Step 1 - Set Up the Icon Menu

Insert the Icon Menu control into your form, and place it in the desired position.

Step 2 - Modify the Icon Menu Control’s Properties

Open the Icon Menu control’s property sheet by right-clicking on the control, selecting FMS Icon Menu Control 2000 Object, and choosing Properties. Each icon has a caption and picture which are set in the Item Properties of the property sheet. Select an individual icon to modify by changing the Item Number property. You can also set the orientation of the icons to horizontal, vertical, or flowed.

Step 3 - Write Code to Handle the Selection of Icons in the Control

Write code to respond to the OnSelect event of the Icon Menu control and take the appropriate action.

Icon Menu Properties

Name

Description

BackColor

The background color of the control.

Enabled Whether the user can manipulate the control.
Font The font for the text.

ForeColor

The color of the text.

ItemCount The number of menu items.
ItemIcon The icon of the specified menu item.
ItemText The text of the specified menu item.
LargeIcons Whether large icons are shown.
Orientation The orientation of the control.

Icon Menu Methods

Name

Description

LoadIcon Loads a picture into the ItemIcon property.

Icon Menu Events

Name

Description

OnHighlight Fires when an item is highlighted.
OnSelect Fires when an item is selected.
OnUnHighlight Fires when an item loses the highlight.
Click Fires when the mouse is clicked over the control.
DblClick Fires when the mouse is double clicked over the control.
KeyDown Fires when a key is depressed.
KeyPress Fires when a key is pressed.
KeyUp Fires when a key is released.
MouseDown Fires when a mouse button is depressed over a control.
MouseMove Fires when the mouse moves over the control.
MouseUp Fires when a mouse button is released over a control.
Contact Us  l   Web questions: Webmaster   l   Copyright © 2008 FMS, Inc.

Celebrating 22 Years of Software Excellence