Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > .NET WinForms > General Discussion
  New Posts New Posts RSS Feed - Progressbar moves when MDIForm resized
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Progressbar moves when MDIForm resized

 Post Reply Post Reply
Author
Message
Celeste View Drop Down
Newbie
Newbie


Joined: 29 April 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Celeste Quote  Post ReplyReply Direct Link To This Post Topic: Progressbar moves when MDIForm resized
    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. Smile

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);


Back to Top
Celeste View Drop Down
Newbie
Newbie


Joined: 29 April 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Celeste Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2011 at 2:37am
could any body please help???
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.