TrayHide Method

This method will hide the system tray icon if it is currently visible. See also the TrayVisible property.

Syntax

csSysTray[(index)].TrayHide

The TrayHide method syntax has these parts:

Part Description
csSysTray The SysTray control you are working with, or a control array of SysTray controls.

Examples

Example 1 (Hiding a System Tray Icon)

csSysTray1.TrayHide

Remarks

To show a system tray icon, call the TrayShow method.