Click here to Skip to main content
15,921,941 members
Home / Discussions / C#
   

C#

 
GeneralRe: Serialize a button? Pin
Corinna John1-Dec-03 1:23
Corinna John1-Dec-03 1:23 
GeneralRe: Serialize a button? Pin
Heath Stewart1-Dec-03 2:35
protectorHeath Stewart1-Dec-03 2:35 
QuestionHow to change next page of our choice in tabcontrol Pin
Inam30-Nov-03 21:51
Inam30-Nov-03 21:51 
AnswerRe: How to change next page of our choice in tabcontrol Pin
Corinna John1-Dec-03 1:26
Corinna John1-Dec-03 1:26 
GeneralClear screen from a C# console Application Pin
okoji Cyril30-Nov-03 21:35
okoji Cyril30-Nov-03 21:35 
GeneralRe: Clear screen from a C# console Application Pin
Alex Korchemniy1-Dec-03 11:02
Alex Korchemniy1-Dec-03 11:02 
Questiondatagrid problem? Pin
isarfraz30-Nov-03 18:13
isarfraz30-Nov-03 18:13 
AnswerRe: datagrid problem? Pin
Heath Stewart1-Dec-03 2:27
protectorHeath Stewart1-Dec-03 2:27 
Using a DataGridColumnStyle is the best way to do this. That's what they're there for - to customize the data-bindable cells in a DataGrid. There's an easy article about this in MSDN posted a few months ago at http://msdn.microsoft.com/msdnmag/issues/03/08/DataGrids/default.aspx[^].

If you don't want to use this mechanism, then handle the DataGrid.CurrentCellChanged event, determine if you should show a ComboBox for the current cell, then add a ComboBox to the DataGrid's container's Controls collection with a higher TabStop than the DataGrid, and size the ComboBox to match the cell's extents. This is a really poor way of handling this and I'm not guaranteeing that it'll work.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralPrintTemplate.orientation bug Pin
Alex Korchemniy30-Nov-03 17:25
Alex Korchemniy30-Nov-03 17:25 
GeneralMaking an exe file from c# code Pin
kaisy30-Nov-03 16:15
kaisy30-Nov-03 16:15 
GeneralRe: Making an exe file from c# code Pin
Christian Graus30-Nov-03 17:02
protectorChristian Graus30-Nov-03 17:02 
GeneralRe: Making an exe file from c# code Pin
Alex Korchemniy30-Nov-03 17:31
Alex Korchemniy30-Nov-03 17:31 
GeneralAbout Hook Pin
lajiyo30-Nov-03 15:06
lajiyo30-Nov-03 15:06 
GeneralCore DLL Documentation Pin
Tristan Rhodes30-Nov-03 12:04
Tristan Rhodes30-Nov-03 12:04 
GeneralRe: Core DLL Documentation Pin
Alex Korchemniy30-Nov-03 14:13
Alex Korchemniy30-Nov-03 14:13 
GeneralClickety Pin
J. Dunlap30-Nov-03 16:26
J. Dunlap30-Nov-03 16:26 
GeneralRe: Clickety Pin
Tristan Rhodes1-Dec-03 3:33
Tristan Rhodes1-Dec-03 3:33 
Generalsource code Pin
Amirjalaly30-Nov-03 5:00
Amirjalaly30-Nov-03 5:00 
GeneralRe: source code Pin
Alex Korchemniy30-Nov-03 14:15
Alex Korchemniy30-Nov-03 14:15 
GeneralQuery: The | Operator Pin
30-Nov-03 4:53
suss30-Nov-03 4:53 
GeneralRe: Query: The | Operator Pin
leppie30-Nov-03 6:11
leppie30-Nov-03 6:11 
GeneralRe: Query: The | Operator Pin
Tristan Rhodes30-Nov-03 7:06
Tristan Rhodes30-Nov-03 7:06 
GeneralRe: Query: The | Operator Pin
J. Dunlap30-Nov-03 10:32
J. Dunlap30-Nov-03 10:32 
GeneralRe: Query: The | Operator Pin
Tristan Rhodes30-Nov-03 7:06
Tristan Rhodes30-Nov-03 7:06 
QuestionHow to convert "string" type to "Shortcut" type ? Pin
god4k30-Nov-03 3:35
god4k30-Nov-03 3:35 

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.