Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralSet the currentcell doesnt work in form load Pin
Ista5-Aug-03 9:50
Ista5-Aug-03 9:50 
GeneralRe: Set the currentcell doesnt work in form load Pin
Marc Clifton5-Aug-03 14:13
mvaMarc Clifton5-Aug-03 14:13 
GeneralRe: Set the currentcell doesnt work in form load Pin
Furty5-Aug-03 16:37
Furty5-Aug-03 16:37 
GeneralRe: Set the currentcell doesnt work in form load Pin
Ista6-Aug-03 4:25
Ista6-Aug-03 4:25 
GeneralContainter like controls Pin
Alex Korchemniy5-Aug-03 9:32
Alex Korchemniy5-Aug-03 9:32 
GeneralRe: Containter like controls Pin
Ista5-Aug-03 9:46
Ista5-Aug-03 9:46 
GeneralRe: Containter like controls Pin
Alex Korchemniy5-Aug-03 13:48
Alex Korchemniy5-Aug-03 13:48 
GeneralRe: Containter like controls Pin
Marc Clifton5-Aug-03 14:22
mvaMarc Clifton5-Aug-03 14:22 
AK wrote:
I have a custom control here and I need to do the same thing with it without deriving from Panel

So, what features of Panel are you talking about? A panel is basically just a container for another collection of controls. But that's a property of Control, not Panel. It provides grouping for radio buttons. But that should be easy enough to implement yourself. Similarly with Panel's enable/disable feature--disable the panel and it's child controls are disabled. The only other thing about panels is the AutoScroll capability, which again may or may not be necessary but is fairly easy to recreate.

And why not derive from Panel? If that doesn't work, then you can derive from Control but contain a panel, and pass through whatever functions you want to the Panel object and provide your own drawing.

Maybe my article will help too: http://www.codeproject.com/cs/miscctrl/csoutlookbar.asp[^]

Good luck!

Marc

STL, a liability factory - Anonymously
A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr

Latest AAL Article
My blog

GeneralRe: Containter like controls Pin
Alex Korchemniy5-Aug-03 18:25
Alex Korchemniy5-Aug-03 18:25 
GeneralRe: Containter like controls Pin
Furty5-Aug-03 14:19
Furty5-Aug-03 14:19 
QuestionWhat is the @ for? Pin
Alvaro Mendez5-Aug-03 8:45
Alvaro Mendez5-Aug-03 8:45 
AnswerRe: What is the @ for? Pin
mikemilano5-Aug-03 8:48
mikemilano5-Aug-03 8:48 
GeneralRe: What is the @ for? Pin
Eric Gunnerson (msft)5-Aug-03 9:06
Eric Gunnerson (msft)5-Aug-03 9:06 
GeneralRe: What is the @ for? Pin
Alvaro Mendez5-Aug-03 9:27
Alvaro Mendez5-Aug-03 9:27 
GeneralRe: What is the @ for? Pin
J. Dunlap5-Aug-03 9:31
J. Dunlap5-Aug-03 9:31 
GeneralControl painting Pin
Alex Korchemniy5-Aug-03 8:18
Alex Korchemniy5-Aug-03 8:18 
GeneralRe: Control painting Pin
J. Dunlap5-Aug-03 8:42
J. Dunlap5-Aug-03 8:42 
GeneralRe: Control painting Pin
Alex Korchemniy5-Aug-03 9:31
Alex Korchemniy5-Aug-03 9:31 
GeneralRe: Control painting Pin
Arun Bhalla5-Aug-03 10:15
Arun Bhalla5-Aug-03 10:15 
GeneralRe: Control painting Pin
Nick Parker5-Aug-03 17:33
protectorNick Parker5-Aug-03 17:33 
GeneralRe: Control painting Pin
Csharp™6-Aug-03 0:23
Csharp™6-Aug-03 0:23 
Generalaccessing variables between forms. Pin
mikemilano5-Aug-03 7:09
mikemilano5-Aug-03 7:09 
GeneralRe: accessing variables between forms. Pin
apferreira5-Aug-03 7:23
apferreira5-Aug-03 7:23 
GeneralRe: accessing variables between forms. Pin
mikemilano5-Aug-03 8:45
mikemilano5-Aug-03 8:45 
GeneralRe: accessing variables between forms. Pin
Rocky Moore5-Aug-03 9:27
Rocky Moore5-Aug-03 9:27 

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.