Windows Develop Bookmark and Share   
 index > Windows Forms Designer > UserControl(ContainerControl) Receiving Focus
 

UserControl(ContainerControl) Receiving Focus

Is there a way to implement focus events for a containercontrol?
(http://msdn2.microsoft.com/en-us/library/system.windows.forms.containercontrol.aspx)

I'm trying build a container with grid-row-like controls with the posibility to selecting a gridrow etc...

Any help is appreciated

With regards,

Ralf
Ralf de Kleine XCESS  Thursday, August 30, 2007 12:05 PM

Hi Ralf,

What did you mean by 'grid-row-like'? Did you meanyour usercontrol looks like the datagrid? If so, you can host some textboxes in your usercontrol, or simply add a datagridview to your usercontrol.

Hope this helps.

Best regards.

Rong-Chun Zhang  Tuesday, September 04, 2007 1:34 PM

You can use google to search for other answers

Custom Search

More Threads

• How to Avoid the Scroll Bar Flickering in Panels
• Tabcontrol - bug(?) when pasting components on it
• RenderMode default style different in Express?
• Eliminating flicker in transparent controls
• Serialization of objects added to controls at design-time
• Form designer & setting visibility
• Control like in debugger (mix of TreeView and ListView)
• Designer generated code missing the new xxx() for my control
• Do we still need to implement designerhost with the arrival of designsurface
• Adding Designer Verbs to a Windows Form