Click here to Skip to main content
15,886,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: Win32 API functions Pin
zlaty1-Feb-04 9:46
zlaty1-Feb-04 9:46 
GeneralRe: Win32 API functions Pin
Nick Parker1-Feb-04 9:53
protectorNick Parker1-Feb-04 9:53 
GeneralRe: Win32 API functions Pin
Mazdak1-Feb-04 9:56
Mazdak1-Feb-04 9:56 
GeneralQuestion on a class communicating with main form Pin
Flack1-Feb-04 8:30
Flack1-Feb-04 8:30 
GeneralRe: Question on a class communicating with main form Pin
Nick Parker1-Feb-04 8:38
protectorNick Parker1-Feb-04 8:38 
GeneralRe: Question on a class communicating with main form Pin
Charlie Williams1-Feb-04 14:26
Charlie Williams1-Feb-04 14:26 
GeneralQuestion on tabpages and autoscroll. Pin
Flack1-Feb-04 8:20
Flack1-Feb-04 8:20 
GeneralRe: Question on tabpages and autoscroll. Pin
Heath Stewart2-Feb-04 4:10
protectorHeath Stewart2-Feb-04 4:10 
The TabPage won't display scroll bars, but the Panel will. Dock a Panel in your TabPage and add your controls to that instead (cutting and pasting controls works in VS.NET, but you'll have to re-hookup any event handlers).

For the second question, you can handle the TextChanged event and validate the characters one by one (using, perhaps, Char.IsDigit) - which will also validate (and optionally throw an exception) text when assigned programmatically, or for user input just handle the KeyDown event and validate the Keys enumeration passed with the KeyEventArgs.

 

Microsoft MVP, Visual C#
My Articles
GeneralDataSets and Diffgrams Pin
MrJJKoolJ1-Feb-04 4:55
MrJJKoolJ1-Feb-04 4:55 
GeneralRe: DataSets and Diffgrams Pin
Mazdak1-Feb-04 5:47
Mazdak1-Feb-04 5:47 
GeneralI need help pls!! - live radio station Pin
cristiansje31-Jan-04 23:02
cristiansje31-Jan-04 23:02 
GeneralRe: I need help pls!! - live radio station Pin
Andres Coder1-Feb-04 4:50
Andres Coder1-Feb-04 4:50 
GeneralRe: I need help pls!! - live radio station Pin
cristiansje1-Feb-04 8:50
cristiansje1-Feb-04 8:50 
GeneralRe: I need help pls!! - live radio station Pin
OmegaSupreme1-Feb-04 5:30
OmegaSupreme1-Feb-04 5:30 
GeneralRe: I need help pls!! - live radio station Pin
cristiansje1-Feb-04 8:49
cristiansje1-Feb-04 8:49 
GeneralUpdateCommandUI in C# and .NET Pin
dabs31-Jan-04 16:53
dabs31-Jan-04 16:53 
GeneralRe: UpdateCommandUI in C# and .NET Pin
Mazdak31-Jan-04 23:33
Mazdak31-Jan-04 23:33 
GeneralRe: UpdateCommandUI in C# and .NET Pin
Uwe Keim1-Feb-04 1:39
sitebuilderUwe Keim1-Feb-04 1:39 
GeneralRe: UpdateCommandUI in C# and .NET Pin
Mazdak1-Feb-04 1:56
Mazdak1-Feb-04 1:56 
GeneralAdobe Acrobat ocx problem Pin
Alex Korchemniy31-Jan-04 16:21
Alex Korchemniy31-Jan-04 16:21 
QuestionAutomatically creating classes ? Pin
Andres Coder31-Jan-04 13:27
Andres Coder31-Jan-04 13:27 
AnswerRe: Automatically creating classes ? Pin
Colin Angus Mackay31-Jan-04 15:39
Colin Angus Mackay31-Jan-04 15:39 
GeneralRe: Automatically creating classes ? Pin
Andres Coder31-Jan-04 21:35
Andres Coder31-Jan-04 21:35 
GeneralRe: Automatically creating classes ? Pin
Colin Angus Mackay1-Feb-04 1:28
Colin Angus Mackay1-Feb-04 1:28 
GeneralRe: Automatically creating classes ? Pin
Andres Coder1-Feb-04 2:57
Andres Coder1-Feb-04 2:57 

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.