Hello All,
I am using CodeJock Xtreme SuitePro ActiveX 2007 Vol 2 (11.2.0) and I am trying to add a ProgressBar in the StatusBar.. but the progressbar also
moves when the MDIForm resized.. what I
missed.
axCommandBars.ToolTipContext.Style =
XtremeCommandBars.XTPToolTipStyle.xtpToolTipBalloon;
axCommandBars.Icons.AddIcons(axImageManager.Icons);
StatusBar.ToolTipContext.Style =
XtremeCommandBars.XTPToolTipStyle.xtpToolTipBalloon;
XtremeCommandBars.StatusBarPane Pane;
Pane = StatusBar.AddPane(0); Pane.Style =
XtremeCommandBars.XTPStatusPaneStyle.SBPS_STRETCH |
XtremeCommandBars.XTPStatusPaneStyle.SBPS_NOBORDERS; Pane.Text =
"Ready"; Pane.Width = 0; //Auto Size
Pane =
StatusBar.AddPane(ID.ID_MYSQL_INDICATOR); Pane.IconIndex =
MYSQLDB.MYSQL_STATUS_STOP; Pane.Alignment=
XtremeCommandBars.XTPTextAlignment.xtpAlignmentCenter;
Pane.Text = ""; Pane.ToolTip = "Database
stopped";
Pane =
StatusBar.AddPane(ID.ID_TAPI_INDICATOR); Pane.IconIndex =
TAPI.TAPI_STATUS_STOP; Pane.Alignment =
XtremeCommandBars.XTPTextAlignment.xtpAlignmentCenter;
Pane.Text = ""; Pane.ToolTip = "TAPI
stopped";
StatusBar.AddPane(ID.ID_INDICATOR_CAPS);
StatusBar.AddPane(ID.ID_INDICATOR_NUM);
StatusBar.AddPane(ID.ID_INDICATOR_SCRL); StatusBar.IdleText =
"Ready";
Pane =
StatusBar.AddPane(ID.ID_INDICATOR_PROGRESS); Pane.Handle =
progressBar.Handle.ToInt32(); Pane.Alignment =
XtremeCommandBars.XTPTextAlignment.xtpAlignmentCenter;
progressBar.Value = 50; Pane.Width = 100;
Pane.Visible = true;
RibbonBar().EnableFrameTheme();
axCommandBars.Options.KeyboardCuesShow =
XtremeCommandBars.XTPKeyboardCuesShow.xtpKeyboardCuesShowWindowsDefault;
axCommandBars.KeyBindings.Add(0, ID.VK_F5 ,
ID.ID_REFRESH);
axCommandBars.ShowTabWorkspace(true);
axCommandBars.EnableCustomization(true);
|