// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void SetStatusBarAndTipSettings()
{
// Creates the GcListBox control.
GcListBox gcListBox1 = new GcListBox();
// Sets the string format of the StatusBar.Text.
gcListBox1.DescriptionFormat = "[0] + [1]";
// Sets the DescriptionSubItemIndex for displaying the value of the subitem as statusbar's text.
gcListBox1.DescriptionSubItemIndex = 1;
// Shows the statusbar.
gcListBox1.StatusBar.Visible = true;
// Shows the OverflowTip on each sub item.
gcListBox1.ShowOverflowTip = true;
// Shows ToolTip for each item when mouse move to it.
gcListBox1.ShowItemTip = true;
}
' Please use the following namespace
' Imports System.Windows.Forms;
' Imports GrapeCity.Win.Editors;
Public Sub SetStatusBarAndTipSettings()
' Creates the GcListBox control.
Dim gcListBox1 As New GcListBox()
' Sets the string format of the StatusBar.Text.
gcListBox1.DescriptionFormat = "[0] + [1]"
' Sets the DescriptionSubItemIndex for displaying the value of the subitem as statusbar's text.
gcListBox1.DescriptionSubItemIndex = 1
' Shows the statusbar.
gcListBox1.StatusBar.Visible = True
' Shows the OverflowTip on each sub item.
gcListBox1.ShowOverflowTip = True
' Shows ToolTip for each item when mouse move to it.
gcListBox1.ShowItemTip = True
End Sub