Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralGet the value of primary key as output parameter... Pin
signbit12-Aug-05 4:25
signbit12-Aug-05 4:25 
GeneralRe: Get the value of primary key as output parameter... Pin
Guffa12-Aug-05 5:25
Guffa12-Aug-05 5:25 
GeneralUserControl interaction Pin
tehe12-Aug-05 3:53
tehe12-Aug-05 3:53 
GeneralRe: UserControl interaction Pin
Libor Tinka12-Aug-05 5:02
Libor Tinka12-Aug-05 5:02 
Generalrecieving UCHAR buffer in C# from C DLL Pin
A T I F12-Aug-05 3:23
A T I F12-Aug-05 3:23 
GeneralMdiChildActivate Pin
bouli12-Aug-05 3:16
bouli12-Aug-05 3:16 
GeneralMasking the TextBox Pin
zaboboa12-Aug-05 3:15
zaboboa12-Aug-05 3:15 
GeneralRe: TextBox Pin
Marshall12-Aug-05 3:53
Marshall12-Aug-05 3:53 
zaboboa wrote:
Is there a nice way of masking the textbox

There used to be a control called the Masked Edit that made this simple. But I don't think you can put this control on a current Windows Form.

But you can make your own inherited control to do the same thing. Just inherit from TextBox and override the OnKeyPress method to modify the text entered by the user according to the desired mask. You could design it such that the constructor takes a definition of the mask as a parameter.

Sound like too much work? Then just use this[^]. Wink | ;)

Marshall

If you continue to do the same things you always did,
don't be surprised if you get the same results you always got.

GeneralRe: TextBox Pin
Abymoh12-Aug-05 7:25
Abymoh12-Aug-05 7:25 
GeneralRe: TextBox Pin
zaboboa12-Aug-05 7:28
zaboboa12-Aug-05 7:28 
GeneralMdiParent Question Pin
Jassim Rahma12-Aug-05 2:59
Jassim Rahma12-Aug-05 2:59 
GeneralRe: MdiParent Question Pin
bouli12-Aug-05 3:10
bouli12-Aug-05 3:10 
GeneralRe: MdiParent Question Pin
Jassim Rahma12-Aug-05 3:15
Jassim Rahma12-Aug-05 3:15 
GeneralRe: MdiParent Question Pin
bouli12-Aug-05 3:18
bouli12-Aug-05 3:18 
GeneralRe: MdiParent Question Pin
Jassim Rahma12-Aug-05 7:34
Jassim Rahma12-Aug-05 7:34 
GeneralRe: MdiParent Question Pin
dmccabe212-Aug-05 9:03
dmccabe212-Aug-05 9:03 
GeneralRe: MdiParent Question Pin
Jassim Rahma12-Aug-05 11:07
Jassim Rahma12-Aug-05 11:07 
GeneralRe: MdiParent Question Pin
dmccabe212-Aug-05 12:22
dmccabe212-Aug-05 12:22 
Generalforums to NNTP Pin
Mridang Agarwalla12-Aug-05 2:54
Mridang Agarwalla12-Aug-05 2:54 
GeneralRe: forums to NNTP Pin
Dave Kreskowiak12-Aug-05 4:51
mveDave Kreskowiak12-Aug-05 4:51 
GeneralRe: forums to NNTP Pin
Mridang Agarwalla14-Aug-05 3:36
Mridang Agarwalla14-Aug-05 3:36 
GeneralRe: forums to NNTP Pin
Dan Neely12-Aug-05 5:54
Dan Neely12-Aug-05 5:54 
GeneralWhere to get Hwnd from MS-Word Pin
fracalifa12-Aug-05 2:40
fracalifa12-Aug-05 2:40 
GeneralRe: Where to get Hwnd from MS-Word Pin
Igor_gratt12-Aug-05 4:36
Igor_gratt12-Aug-05 4:36 
GeneralRe: Where to get Hwnd from MS-Word Pin
Alomgir Miah12-Aug-05 6:34
Alomgir Miah12-Aug-05 6:34 

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.