Click here to Skip to main content
15,913,773 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionChange default framework version that is used Pin
Winkles29-Aug-08 19:38
Winkles29-Aug-08 19:38 
AnswerRe: Change default framework version that is used Pin
Scott Dorman30-Aug-08 3:55
professionalScott Dorman30-Aug-08 3:55 
GeneralRe: Change default framework version that is used Pin
Winkles31-Aug-08 18:18
Winkles31-Aug-08 18:18 
GeneralRe: Change default framework version that is used Pin
Scott Dorman31-Aug-08 18:54
professionalScott Dorman31-Aug-08 18:54 
GeneralRe: Change default framework version that is used Pin
Winkles1-Sep-08 7:47
Winkles1-Sep-08 7:47 
GeneralRe: Change default framework version that is used Pin
Scott Dorman2-Sep-08 4:20
professionalScott Dorman2-Sep-08 4:20 
AnswerRe: Change default framework version that is used Pin
Thomas Stockwell30-Aug-08 14:37
professionalThomas Stockwell30-Aug-08 14:37 
QuestionOdd graphical problem with custom column/cell/control for DataGridView Pin
Gregory Gadow29-Aug-08 11:37
Gregory Gadow29-Aug-08 11:37 
I have written three groups of classes that implement custom columns and editable cells in a DataGridView. GridMaskedEdit implements a masked edit control, GridNumericCell implements a custom numeric text box based on the framework's TextBox, and GridDate implements a custom date control hosted in a UserControl.

Imagine if a standard DataGridTextBoxColumn and one of each of these is added to a DataGridView. Add a couple of blank rows. Increase the height of one of the rows.

Enter the DataGridTextBox column and begin to edit: the carat positions itself in the left middle. When you leave the cell, the text remains aligned in the left middle.

Enter the GridNumeric column and begin to edit: the carat positions itself to the right middle (where it belongs.) When you leave the cell, the text remains align in the right middle.

Enter the GridDate column and begin to edit. The date control's editing interface appears docked to the top of the cell and is bordered in light blue (the control highlight color?) When you leave the cell, the control disappears and the text is repositioned to the left middle.

Enter the MaskedEdit column and begin to edit. The same thing that happens in the GridDate column happens here: the edit control is drawn at the top of the cell and is bordered in light blue. When you leave the cell, the control disappears and the text is repositioned to the left middle.

Basically, I want the date and masked edit controls to appear without a border, in the same middle position where the text will go. I have compared all the code for these three column/cell/control groups, and it is all the same. Commenting out the alignment code in the GridNumeric set (the only meaningful difference between it and the others) only changes the alignment of the text: it still appears with no border and centered vertically.

This kind of project seems very common, as CodeProject has lots of examples. Any suggestions on where to look for a solution?
QuestionMissing Framework files. Pin
Ray Clanan29-Aug-08 4:16
Ray Clanan29-Aug-08 4:16 
AnswerRe: Missing Framework files. Pin
Tony Richards30-Aug-08 0:31
Tony Richards30-Aug-08 0:31 
GeneralRe: Missing Framework files. Pin
Ray Clanan1-Sep-08 17:24
Ray Clanan1-Sep-08 17:24 
Questionany thing in .net with name team Pin
indian14328-Aug-08 23:52
indian14328-Aug-08 23:52 
AnswerRe: any thing in .net with name team Pin
Ray Clanan29-Aug-08 4:20
Ray Clanan29-Aug-08 4:20 
AnswerRe: any thing in .net with name team Pin
scottgp31-Aug-08 1:43
professionalscottgp31-Aug-08 1:43 
AnswerRe: any thing in .net with name team Pin
Abhishek Sur31-Aug-08 10:15
professionalAbhishek Sur31-Aug-08 10:15 
QuestionCoding conventions and practices Pin
indian14328-Aug-08 4:35
indian14328-Aug-08 4:35 
QuestionRe: Coding conventions and practices Pin
led mike28-Aug-08 5:31
led mike28-Aug-08 5:31 
AnswerRe: Coding conventions and practices Pin
Manas Bhardwaj28-Aug-08 5:37
professionalManas Bhardwaj28-Aug-08 5:37 
GeneralRe: Coding conventions and practices Pin
Scott Dorman28-Aug-08 9:32
professionalScott Dorman28-Aug-08 9:32 
AnswerRe: Coding conventions and practices Pin
Scott Dorman28-Aug-08 9:36
professionalScott Dorman28-Aug-08 9:36 
AnswerRe: Coding conventions and practices Pin
Rob Graham28-Aug-08 14:36
Rob Graham28-Aug-08 14:36 
AnswerRe: Coding conventions and practices Pin
Kevin McFarlane30-Aug-08 3:20
Kevin McFarlane30-Aug-08 3:20 
QuestionMULTIMEDIA UTILITY [modified] Pin
sanaritasages28-Aug-08 3:04
sanaritasages28-Aug-08 3:04 
AnswerCross Post. There's one in the C# forum. Pin
Pete O'Hanlon28-Aug-08 3:19
mvePete O'Hanlon28-Aug-08 3:19 
Questionstate management issue Pin
Zafar Sultan28-Aug-08 2:22
Zafar Sultan28-Aug-08 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.