Bugzilla – Attachment 170762 Details for
Bug 322490
RichTextBox doesn't draw scrollbars
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
demonstration of the problem. code sets scrollbars to forcedboth but neither are drawn.
Form1.cs (text/plain), 2.05 KB, created by
Thomas Wiest
on 2006-10-30 19:43:00 UTC
(
hide
)
Description:
demonstration of the problem. code sets scrollbars to forcedboth but neither are drawn.
Filename:
MIME Type:
Creator:
Thomas Wiest
Created:
2006-10-30 19:43:00 UTC
Size:
2.05 KB
patch
obsolete
>using System; >using System.Drawing; >using System.Collections; >using System.ComponentModel; >using System.Windows.Forms; > > > >namespace junk >{ > /// <summary> > /// Summary description for Form1. > /// </summary> > public class Form1 : System.Windows.Forms.Form > { > private System.Windows.Forms.RichTextBox richTextBox1; > /// <summary> > /// Required designer variable. > /// </summary> > private System.ComponentModel.Container components = null; > > public Form1() > { > InitializeComponent(); > } > /// <summary> > /// Clean up any resources being used. > /// </summary> > protected override void Dispose( bool disposing ) > { > if( disposing ) > { > if (components != null) > { > components.Dispose(); > } > } > base.Dispose( disposing ); > } > #region Windows Form Designer generated code > /// <summary> > /// Required method for Designer support - do not modify > /// the contents of this method with the code editor. > /// </summary> > private void InitializeComponent() > { > this.richTextBox1 = new System.Windows.Forms.RichTextBox(); > this.SuspendLayout(); > // > // richTextBox1 > // > this.richTextBox1.Location = new System.Drawing.Point(16, 16); > this.richTextBox1.Name = "richTextBox1"; > this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedBoth; > this.richTextBox1.Size = new System.Drawing.Size(336, 232); > this.richTextBox1.TabIndex = 0; > this.richTextBox1.Text = ""; > // > // Form1 > // > this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); > this.ClientSize = new System.Drawing.Size(368, 262); > this.Controls.Add(this.richTextBox1); > this.Name = "Form1"; > this.Text = "Form1"; > this.Load += new System.EventHandler(this.Form1_Load); > this.ResumeLayout(false); > > } > #endregion > /// <summary> > /// The main entry point for the application. > /// </summary> > [STAThread] > static void Main() > { > Application.Run(new Form1()); > } > private void Form1_Load(object sender, System.EventArgs e) > { > > } > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 322490
: 170762