Click here to Skip to main content
15,911,848 members
Home / Discussions / C#
   

C#

 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
mav.northwind29-Jan-07 4:20
mav.northwind29-Jan-07 4:20 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
bobsugar22229-Jan-07 5:04
bobsugar22229-Jan-07 5:04 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
mav.northwind29-Jan-07 6:45
mav.northwind29-Jan-07 6:45 
AnswerRe: Direction of selection in a TextBox/RichTextBox Pin
ednrgc29-Jan-07 3:49
ednrgc29-Jan-07 3:49 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
mav.northwind29-Jan-07 4:23
mav.northwind29-Jan-07 4:23 
QuestionSystem.Net.Sockets - Tracing with TraceSource class Pin
wurzel_cidermaker29-Jan-07 3:09
wurzel_cidermaker29-Jan-07 3:09 
AnswerRe: System.Net.Sockets - Tracing with TraceSource class Pin
wurzel_cidermaker30-Jan-07 22:15
wurzel_cidermaker30-Jan-07 22:15 
QuestionCall a javascript function from a Link Button Pin
Bobb198229-Jan-07 3:08
Bobb198229-Jan-07 3:08 
AnswerRe: Call a javascript function from a Link Button Pin
GaryWoodfine 29-Jan-07 3:40
professionalGaryWoodfine 29-Jan-07 3:40 
GeneralRe: Call a javascript function from a Link Button Pin
Bobb198229-Jan-07 18:34
Bobb198229-Jan-07 18:34 
GeneralRe: Call a javascript function from a Link Button Pin
GaryWoodfine 29-Jan-07 22:13
professionalGaryWoodfine 29-Jan-07 22:13 
GeneralRe: Call a javascript function from a Link Button Pin
Bobb198230-Jan-07 1:43
Bobb198230-Jan-07 1:43 
Questioncustom group controls Pin
NoCake29-Jan-07 2:31
NoCake29-Jan-07 2:31 
Heya,

I'm having problems creating a custom group control (which I'll call XPanel for now). I'd like XPanel to be a user control consisting of several sub-panels, that the XPanel user can add their own child controls to.

I have two problems with this:

1) If I add an event handler to the XPanel.ControlAdded event that transfers the added control to one of the sub-panels, I get an error in a message box at design time: "'child' is not a child control of this parent". This doesn't happen if I create and add the control at run-time.

2) How do I allow the sub-panels to be selectable at design time? Will I have to write my own design-time painting and interaction code? At the moment, the XPanel appears as a big indivisible unit when I add it to a form.

Thanks in advance!

Andy






AnswerRe: custom group controls Pin
bobsugar22229-Jan-07 3:00
bobsugar22229-Jan-07 3:00 
GeneralRe: custom group controls [modified] Pin
NoCake29-Jan-07 4:29
NoCake29-Jan-07 4:29 
QuestionIgnore Warning like in C++ Pin
Roland Bär29-Jan-07 2:06
Roland Bär29-Jan-07 2:06 
AnswerRe: Ignore Warning like in C++ Pin
User 665829-Jan-07 2:11
User 665829-Jan-07 2:11 
GeneralRe: Ignore Warning like in C++ Pin
Roland Bär29-Jan-07 2:44
Roland Bär29-Jan-07 2:44 
GeneralRe: Ignore Warning like in C++ Pin
Guffa29-Jan-07 4:35
Guffa29-Jan-07 4:35 
GeneralRe: Ignore Warning like in C++ Pin
Roland Bär29-Jan-07 4:43
Roland Bär29-Jan-07 4:43 
GeneralRe: Ignore Warning like in C++ Pin
Stefan Troschuetz29-Jan-07 8:28
Stefan Troschuetz29-Jan-07 8:28 
Questionupdated how to create an infinite loop. Pin
Petra29-Jan-07 1:51
Petra29-Jan-07 1:51 
AnswerRe: updated how to create an infinite loop. Pin
User 665829-Jan-07 1:57
User 665829-Jan-07 1:57 
AnswerRe: updated how to create an infinite loop. Pin
Luc Pattyn29-Jan-07 1:58
sitebuilderLuc Pattyn29-Jan-07 1:58 
Questionhow to create an infinite loop? Pin
Petra29-Jan-07 1:12
Petra29-Jan-07 1:12 

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.