Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
GeneralRe: Include .NET Pin
Bo Hunter1-Feb-04 12:12
Bo Hunter1-Feb-04 12:12 
GeneralRe: Include .NET Pin
jkerns2-Feb-04 2:41
jkerns2-Feb-04 2:41 
GeneralRe: Include .NET Pin
Heath Stewart2-Feb-04 4:01
protectorHeath Stewart2-Feb-04 4:01 
GeneralRe: Include .NET Pin
Anonymous2-Feb-04 10:28
Anonymous2-Feb-04 10:28 
GeneralPopup menus (please help me) Pin
Jonathan S1-Feb-04 9:26
Jonathan S1-Feb-04 9:26 
GeneralRe: Popup menus (please help me) Pin
Nick Parker1-Feb-04 9:32
protectorNick Parker1-Feb-04 9:32 
GeneralWin32 API functions Pin
zlaty1-Feb-04 9:11
zlaty1-Feb-04 9:11 
GeneralRe: Win32 API functions Pin
Nick Parker1-Feb-04 9:37
protectorNick Parker1-Feb-04 9:37 
GeneralRe: Win32 API functions Pin
zlaty1-Feb-04 9:46
zlaty1-Feb-04 9:46 
GeneralRe: Win32 API functions Pin
Mazdak1-Feb-04 9:37
Mazdak1-Feb-04 9:37 
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 

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.