You could use the SetStyle(ControlStyles.Selectable, true) method but I'm
curious as to why you would want to do that with a panel? I mean what is the
point of having a container control receive focus? When a child control (or
any other control for that matter) get focus, you will still not receive key
events on the container.
> ...can one in a similar manner override something to make a panel receive
> focus?
[quoted text clipped - 22 lines]
>>>>
>>>>- Peder -
Peder Y - 28 Mar 2005 22:54 GMT
...because I draw stuff using a Panel as a canvas. When I click the
panel, my graphical objects get "selected", meaning they redraw
themselves as selected. I can move them around and resize them with the
mouse. I want to be able to move them around using the arrow keys, and
resize them using ctrl+arrow as well. Maybe there's a better approach to
this like creating my own ScrollableControl? I just wouldn't go there if
I didn't have to.
- Peder -
Andrew Smith (Infragistics) wrote:
> You could use the SetStyle(ControlStyles.Selectable, true) method but I'm
> curious as to why you would want to do that with a panel? I mean what is the
[quoted text clipped - 29 lines]
>>>>>
>>>>>- Peder -