Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
5746 | Jul 16,2003 02:34 PM UTC | Jul 18,2003 02:30 PM UTC | WinForms | 7 |
![]() |
Tags: GridControl |
TextBox box = new TextBox();
box.Multiline = true;
box.Text = "Some random text here...";
box.BorderStyle = BorderStyle.None;
gridControl1.RowHeights[2] = 30;
gridControl1.ColWidths[2] = 200;
gridControl1[2,2].CellType = "Control";
gridControl1[2,2].Control = box;
this.Controls.Add(box);
private void panel1_Enter(object sender, System.EventArgs e) { if(Control.MouseButtons == MouseButtons.Left) { Point loc = Control.MousePosition; Point p = this.panel1.PointToClient(loc); if(this.checkBox1.Bounds.Contains(p)) this.checkBox1.Checked = !this.checkBox1.Checked ; } }
dim ctl as new GridCheckNumber()
GridControl1(1,1).CellType = "Control"
GridControl1(1,1).Control = ctl
Me.Controls.Add(ctl);
to see if that makes a difference. This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.