Click here to Skip to main content
15,888,253 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Horizontally Scroll Lines of Text Pin
Luc Pattyn28-Oct-07 7:08
sitebuilderLuc Pattyn28-Oct-07 7:08 
GeneralRe: Horizontally Scroll Lines of Text Pin
Brady Kelly29-Oct-07 3:21
Brady Kelly29-Oct-07 3:21 
GeneralRe: Horizontally Scroll Lines of Text Pin
Luc Pattyn29-Oct-07 3:27
sitebuilderLuc Pattyn29-Oct-07 3:27 
GeneralRe: Horizontally Scroll Lines of Text Pin
Brady Kelly29-Oct-07 4:02
Brady Kelly29-Oct-07 4:02 
GeneralRe: Horizontally Scroll Lines of Text Pin
Luc Pattyn29-Oct-07 4:31
sitebuilderLuc Pattyn29-Oct-07 4:31 
GeneralRe: Horizontally Scroll Lines of Text Pin
Brady Kelly29-Oct-07 4:39
Brady Kelly29-Oct-07 4:39 
QuestionAccessing multiple groups of radiobuttons Pin
Steve Landers26-Oct-07 13:25
Steve Landers26-Oct-07 13:25 
AnswerRe: Accessing multiple groups of radiobuttons Pin
Luc Pattyn26-Oct-07 14:15
sitebuilderLuc Pattyn26-Oct-07 14:15 
Hi, this is how I handle groups of radio buttons:

1. design them all unchecked
2. assign them all (within one group) the same CheckedChanged handler
3. in the CheckedChanged handler, use "object sender" to identify the rb; store it somewhere
(maybe a class variable, maybe the Tag of the GroupBox,...)
4. in the form constructor or the Load handler: determine which rb needs to be checked,
and check it
5. in the form close handler: save the name of the currently selected rb (from the variable
or Tag in 3.)

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


GeneralRe: Accessing multiple groups of radiobuttons Pin
Steve Landers27-Oct-07 10:08
Steve Landers27-Oct-07 10:08 
GeneralRe: Accessing multiple groups of radiobuttons Pin
Luc Pattyn27-Oct-07 13:25
sitebuilderLuc Pattyn27-Oct-07 13:25 
GeneralRe: Accessing multiple groups of radiobuttons Pin
Steve Landers27-Oct-07 13:56
Steve Landers27-Oct-07 13:56 
QuestionHow to display char & integer type variables toether in a list box Pin
nuweima25-Oct-07 19:56
nuweima25-Oct-07 19:56 
AnswerRe: How to display char & integer type variables toether in a list box Pin
Luc Pattyn26-Oct-07 14:22
sitebuilderLuc Pattyn26-Oct-07 14:22 
QuestionEmbedding WMP and changing it's skin Pin
H.R25-Oct-07 19:37
H.R25-Oct-07 19:37 
AnswerRe: Embedding WMP and changing it's skin Pin
Kristian Sixhøj26-Oct-07 8:49
Kristian Sixhøj26-Oct-07 8:49 
GeneralRe: Embedding WMP and changing it's skin Pin
H.R27-Oct-07 16:04
H.R27-Oct-07 16:04 
GeneralRe: Embedding WMP and changing it's skin Pin
Kristian Sixhøj31-Oct-07 6:52
Kristian Sixhøj31-Oct-07 6:52 
QuestionCombo Box Error - DataGridViewComboBoxCell value is not valid Pin
basi001425-Oct-07 6:37
basi001425-Oct-07 6:37 
AnswerRe: Combo Box Error - DataGridViewComboBoxCell value is not valid Pin
jitender.parnami10-Mar-11 0:07
jitender.parnami10-Mar-11 0:07 
AnswerRe: Combo Box Error - DataGridViewComboBoxCell value is not valid Pin
Narayan MCA23-May-11 21:37
Narayan MCA23-May-11 21:37 
Questionwindows xp themes Pin
sresth24-Oct-07 20:18
sresth24-Oct-07 20:18 
AnswerRe: windows xp themes Pin
Paul Conrad27-Oct-07 11:22
professionalPaul Conrad27-Oct-07 11:22 
GeneralIterate Through BindingNavigator Pin
Brady Kelly24-Oct-07 6:20
Brady Kelly24-Oct-07 6:20 
QuestionBehavior of UP/DOWN keys in AutoComplete-enabled ComboBox? Pin
@MSI24-Oct-07 3:25
@MSI24-Oct-07 3:25 
AnswerRe: Behavior of UP/DOWN keys in AutoComplete-enabled ComboBox? Pin
Paul Conrad27-Oct-07 13:33
professionalPaul Conrad27-Oct-07 13:33 

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.