Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
795
I am not getting scroll bar for the Windows.Forms.Panel after docking to Ultratabpage Control
posted

I am not getting scroll bar for the panel(pnlScheduleNotify) after dociking that to ultratabpagecontrol(tabScheduleNotify). i need the scrollbar for the panel, because the        ableLayoutPanel1 which has Controls, pnlSchedulingNotify, pnlNotifyMe are large one to adapt.

 

Please help me.

 

private Infragistics.Win.UltraWinTabControl.UltraTabPageControl tabScheduleNotify = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();

private Infragistics.Win.UltraWinTabControl.UltraTabControl tabFilterCriteria = new Infragistics.Win.UltraWinTabControl.UltraTabControl();

           appearance5.BackColor = System.Drawing.Color.White;
            appearance5.BackColor2 = System.Drawing.Color.White;
            appearance5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(83)))), ((int)(((byte)(101)))), ((int)(((byte)(125)))));
            appearance5.BorderColor2 = System.Drawing.Color.Transparent;
            appearance5.FontData.BoldAsString = "True";
            appearance5.ForeColor = System.Drawing.Color.Black;
            appearance5.TextTrimming = Infragistics.Win.TextTrimming.None;
            this.tabFilterCriteria.ActiveTabAppearance = appearance5;
            appearance6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(225)))), ((int)(((byte)(242)))));
            appearance6.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(225)))), ((int)(((byte)(242)))));
            appearance6.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            appearance6.BackColorDisabled2 = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            appearance6.BorderColor = System.Drawing.Color.Transparent;
            appearance6.BorderColor2 = System.Drawing.Color.Transparent;
            appearance6.TextTrimming = Infragistics.Win.TextTrimming.None;
            this.tabFilterCriteria.Appearance = appearance6;
            appearance7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(246)))), ((int)(((byte)(251)))));
            appearance7.BackGradientStyle = Infragistics.Win.GradientStyle.None;
            this.tabFilterCriteria.ClientAreaAppearance = appearance7;
            this.tabFilterCriteria.Controls.Add(this.tabPageFilterCriteria);
            this.tabFilterCriteria.Controls.Add(this.tabPageFormatOutput);
            this.tabFilterCriteria.Controls.Add(this.tabScheduleNotify);
            this.tabFilterCriteria.Controls.Add(this.ultraTabSharedControlsPage2);
            this.tabFilterCriteria.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabFilterCriteria.Font = new System.Drawing.Font("Verdana", 10.99F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            this.tabFilterCriteria.InterTabSpacing = new Infragistics.Win.DefaultableInteger(2);
            this.tabFilterCriteria.Location = new System.Drawing.Point(0, 0);
            this.tabFilterCriteria.Margin = new System.Windows.Forms.Padding(0);
            this.tabFilterCriteria.Name = "tabFilterCriteria";
            appearance1.BorderColor = System.Drawing.Color.White;
            this.tabFilterCriteria.SelectedTabAppearance = appearance1;
            this.tabFilterCriteria.SharedControlsPage = this.ultraTabSharedControlsPage2;
            this.tabFilterCriteria.ShowTabListButton = Infragistics.Win.DefaultableBoolean.False;
            this.tabFilterCriteria.Size = new System.Drawing.Size(1050, 402);
            this.tabFilterCriteria.SpaceAfterTabs = new Infragistics.Win.DefaultableInteger(3);
            this.tabFilterCriteria.Style = Infragistics.Win.UltraWinTabControl.UltraTabControlStyle.Flat;
            appearance8.BackColor = System.Drawing.Color.White;
            appearance8.BorderColor = System.Drawing.Color.White;
            this.tabFilterCriteria.TabHeaderAreaAppearance = appearance8;
            this.tabFilterCriteria.TabIndex = 0;
            ultraTab1.FixedWidth = 100;
            ultraTab1.Key = "NEW";
            ultraTab1.TabPage = this.tabPageFilterCriteria;
            ultraTab1.Text = "Filter Criteria";
            ultraTab2.FixedWidth = 110;
            ultraTab2.Key = "PRE";
            ultraTab2.TabPage = this.tabPageFormatOutput;
            ultraTab2.Text = "Format Output";
            ultraTab3.FixedWidth = 160;
            ultraTab3.Key = "NOTIFY";
            ultraTab3.TabPage = this.tabScheduleNotify;
            ultraTab3.Text = "Scheduling & Notfication";
            ultraTab3.TabPage.AutoScroll = true;
            this.tabFilterCriteria.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
            ultraTab1,
            ultraTab2,
            ultraTab3});
            this.tabFilterCriteria.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
            this.tabFilterCriteria.SelectedTabChanged += new Infragistics.Win.UltraWinTabControl.SelectedTabChangedEventHandler(this.tabFilterCriteria_SelectedTabChanged);

    //
            // tabScheduleNotify
            //
            this.tabScheduleNotify.Controls.Add(this.pnlScheduleNotify);
            this.tabScheduleNotify.Location = new System.Drawing.Point(1, 20);
            this.tabScheduleNotify.Margin = new System.Windows.Forms.Padding(0);
            this.tabScheduleNotify.Name = "tabScheduleNotify";
            this.tabScheduleNotify.Padding = new System.Windows.Forms.Padding(1);
            this.tabScheduleNotify.Size = new System.Drawing.Size(1046, 381);
            this.tabScheduleNotify.AutoScroll = true;
            this.tabScheduleNotify.AutoScrollPosition = new System.Drawing.Point(10, 10);

    //
            // pnlScheduleNotify
            //
            this.pnlScheduleNotify.AutoScroll = true;
            this.pnlScheduleNotify.Controls.Add(this.tableLayoutPanel1);
            this.pnlScheduleNotify.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pnlScheduleNotify.Location = new System.Drawing.Point(1, 1);
            this.pnlScheduleNotify.Name = "pnlScheduleNotify";
            this.pnlScheduleNotify.Size = new System.Drawing.Size(1046, 323);
            this.pnlScheduleNotify.TabIndex = 1;
            this.pnlScheduleNotify.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;

 

            //
            // tableLayoutPanel1
            //
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.None;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.pnlSchedulingNotify, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.pnlNotifyMe, 0, 1);
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0,0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 2;
            this.tableLayoutPanel1.Size = new System.Drawing.Size(820, 280);
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 80F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));