Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
QuestionEffective filestream Pin
Johan Martensson5-Sep-09 0:15
Johan Martensson5-Sep-09 0:15 
AnswerRe: Effective filestream Pin
Rob Smiley5-Sep-09 0:35
Rob Smiley5-Sep-09 0:35 
GeneralRe: Effective filestream Pin
Luc Pattyn5-Sep-09 3:41
sitebuilderLuc Pattyn5-Sep-09 3:41 
GeneralRe: Effective filestream Pin
Johan Martensson5-Sep-09 4:35
Johan Martensson5-Sep-09 4:35 
QuestionAsking for a serial Key Pin
Wamuti4-Sep-09 23:40
Wamuti4-Sep-09 23:40 
AnswerRe: Asking for a serial Key Pin
Manas Bhardwaj5-Sep-09 0:58
professionalManas Bhardwaj5-Sep-09 0:58 
QuestionDisable RightToLeft in Groupbox's sebset ? Pin
Mohammad Dayyan4-Sep-09 23:20
Mohammad Dayyan4-Sep-09 23:20 
AnswerRe: Disable RightToLeft in Groupbox's sebset ? Pin
Henry Minute5-Sep-09 2:01
Henry Minute5-Sep-09 2:01 
Your question is not exactly clear, but I am taking it to mean that you have created a Control which inherits from GroupBox and this control contains a TextBox.

You can set the property in design view of your control but if you want to be able to do it once your control is placed on a Form (for example), you need to surface any properties of child controls in your control. Something like this:
[Category("Appearance")]
public Color CountryTextBoxBackColor
{
    get
    {
        return this.countryTextBox.BackColor;
    }

    set
    {
        this.countryTextBox.BackColor = value;
    }
}


I have used BackColor in this example because I couldn't remember the Type for RightToLeft Smile | :) but the principle is exactly the same. You will need to do the same for any properties of child controls that you need to be available at design time.
The code above should be part of the code for your control, in case you have not worked that out.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

QuestionHow to Save and display the text entered at runtime. Pin
coolsharath4-Sep-09 22:14
coolsharath4-Sep-09 22:14 
AnswerRe: How to Save and display the text entered at runtime. Pin
OriginalGriff4-Sep-09 22:24
mveOriginalGriff4-Sep-09 22:24 
GeneralRe: How to Save and display the text entered at runtime. Pin
coolsharath4-Sep-09 23:24
coolsharath4-Sep-09 23:24 
GeneralRe: How to Save and display the text entered at runtime. Pin
OriginalGriff4-Sep-09 23:30
mveOriginalGriff4-Sep-09 23:30 
AnswerRe: How to Save and display the text entered at runtime. Pin
Richard MacCutchan4-Sep-09 23:44
mveRichard MacCutchan4-Sep-09 23:44 
GeneralRe: How to Save and display the text entered at runtime. Pin
coolsharath4-Sep-09 23:47
coolsharath4-Sep-09 23:47 
GeneralRe: How to Save and display the text entered at runtime. Pin
Richard MacCutchan5-Sep-09 0:29
mveRichard MacCutchan5-Sep-09 0:29 
GeneralRe: How to Save and display the text entered at runtime. Pin
PIEBALDconsult5-Sep-09 1:47
mvePIEBALDconsult5-Sep-09 1:47 
Questionexecute .exe file Pin
sadaf824-Sep-09 22:04
sadaf824-Sep-09 22:04 
AnswerRe: execute .exe file Pin
Abhijit Jana4-Sep-09 22:07
professionalAbhijit Jana4-Sep-09 22:07 
AnswerRe: execute .exe file Pin
Johan Martensson5-Sep-09 0:23
Johan Martensson5-Sep-09 0:23 
Questionasd Pin
Mishra Aditi4-Sep-09 22:03
Mishra Aditi4-Sep-09 22:03 
AnswerRe: asd Pin
Abhijit Jana4-Sep-09 22:09
professionalAbhijit Jana4-Sep-09 22:09 
AnswerRe: asd Pin
OriginalGriff4-Sep-09 22:37
mveOriginalGriff4-Sep-09 22:37 
AnswerRe: asd Pin
0x3c05-Sep-09 0:00
0x3c05-Sep-09 0:00 
Questionhow the print functionality in c#.net works Pin
Anil Veeraghattapu 44-Sep-09 21:45
Anil Veeraghattapu 44-Sep-09 21:45 
AnswerRe: how the print functionality in c#.net works Pin
OriginalGriff4-Sep-09 22:34
mveOriginalGriff4-Sep-09 22:34 

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.