Progressbar moves when MDIForm resized |
Post Reply |
Author | |
Celeste
Newbie Joined: 29 April 2006 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 09 February 2011 at 10:19pm |
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); |
|
Celeste
Newbie Joined: 29 April 2006 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
could any body please help???
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |