Groups | Blog | Home


Archived Months
November 2003
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms controls > march 2007 > threads for march 22 - 28, 2007

Filter by week: 1 2 3 4 5

BindingSource determine changes before calling EndEdit()
Posted by Rob Dob at 3/28/2007 10:53:28 PM
How do I determine if there are any rows within the BindingSource that have changed prior to calling the EndEdit(). I need to do this in order to archive some records and if I call the EndEdit() then it also wipes out the orginal version of the dataset record with the proposed changes., Howe...more >>


Rich Text Box control SelectionColor??
Posted by Brian McCullough at 3/28/2007 5:53:30 PM
Hello, I am creating a form with Rich Text Box control on it (using .NET 1.1). The form will be used to iterate through a list of spelling errors and allow the user to determine what to do with each error. I am displaying the source text in a rich text box and highlighting the current mis...more >>

Text property og UserControl visible in the designer?
Posted by Ole at 3/28/2007 3:57:53 PM
This question is actually for the Compact Framework but is about controls. I have created a control that inherits the UserControl (I need the border). The control overrides the Text Property and I draws the Text in the Onpaint event - works fine, but the Text property doesn't show up in the de...more >>

ScrollBars and UserControl
Posted by Peter Larsen [] at 3/28/2007 12:00:00 AM
Hi, Is there a way to hide the scrollbars in a UserControl ?? If i'm setting AutoScrollMinSize to a size larger than the ClientRectangle, the scrollbars will automatically appear within the bounds of the UserControl. But if i don't want the scrollbars to appear - how do i prevent that fro...more >>

Contextmenu CloneMenu?
Posted by Per Rollvang at 3/27/2007 5:41:20 PM
Hi All! I have tried for a few hours to create a contextmenu based on a clone off one of the menus on my mainmenu.. No result! Anybody that have a code-example / url? I use: Microsoft Visual Studio 2005 Version 8.0.50727.51 (QFE.050727-5100) Microsoft .NET Framework Version 2.0.50...more >>

ListView double click question
Posted by Nick at 3/27/2007 4:05:37 PM
Hello, I've got a list view in details view. Two questions. I've got four columns. I want to be able to update either column 1 or column 3 by double clicking on one of the items. Is it possible to determine what column is double clicked on? Also, if an item in column 3 is double clicked wou...more >>

Designer doesn't update the window/form region based on subclassing
Posted by Liviu Balan at 3/27/2007 4:02:04 PM
Hello, Given a form(Form1) that defines it's active region on load with the following code: private void Form1_Load(object sender, EventArgs e) { //compute the mask region to create rounded window corners this.Region = new Region(Drawing.GetRoundedRectangle(new Rectangle(0, 0, this....more >>

DataGridView: equivalent to RowData
Posted by Jeff Johnson at 3/26/2007 2:07:50 PM
The VB6 MSFlexGrid had a property called RowData which associated an integer with each row. It was crude, but you could use this integer as, say, the index into an array of objects which would provide more data about the row. It was handy for storing info that was global to each row. I cannot ...more >>



Help Required
Posted by Darth at 3/26/2007 6:55:31 AM
Hi, I have added a textbox (richtextbox) to a form. I keep on appending text to this textbox. How can I cause this textbox to automatically scroll down to the text that has been added recently ? TIA, Darth ...more >>

Print datagridview How to...
Posted by Scotty at 3/26/2007 12:00:00 AM
Hi, Hope someone can help me I have a datagridview I want to print Code below works fine if I print the data if there is only 1 page (without using hasmore pages '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! If intRowPos <= 10 Then e.HasMorePages = False Else e.HasMorePages = True End If '!!!...more >>

DataGridView adding row problem
Posted by Fabio at 3/22/2007 11:43:53 PM
Hi all I got a strange behavior of the DataGridView. Try this code on a new Form with a DataGridView: DataTable t; DataView v; private void Form1_Load(object sender, EventArgs e) { t = new DataTable("T"); t.Columns.Add("test"); v = new DataView(t); dataG...more >>

How to create a panel which acts like a form at design-time
Posted by Joanna Carter [TeamB] at 3/22/2007 7:06:59 PM
Hi folks I need to create a visual control that can accept IExtenderProvider based components at design-time, so that certain controls, dropped onto the visual control, can support an extra property. The visual control needs to appear to be a panel, possibly derived from an existing Pane...more >>

[VS2005/.NET 2.0] DataGridView and deleting rows
Posted by Jeff Johnson at 3/22/2007 5:29:04 PM
I have a DataGridView on a form that users will be adding data to. One column must be unique, so if they try to add a new row with a duplicate value in this column I want to grouse at them (MessageBox) and then delete the row they just entered. I can't call myGrid.Rows.Remove(xxx) during the ...more >>


DevelopmentNow Blog