Results 1 to 1 of 1

Thread: Extending the Masked Control

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2002
    Location
    Newcastle, Australia
    Posts
    42

    Extending the Masked Control

    Hi,

    I wish to extend the Masked Textbox control to accept and process arrow key presses to make a custom date-masked-text-control.

    Pressing an Arrow key will increase or decrease the date accordingly.

    I hope to use the date mask control to assist the users in entering a date in the format dd/mm/yyyy, as well as setting minimum and maxximum values.

    I had been using something similair to below:
    PHP Code:
    Public Class DateTextBox
        Inherits System
    .Windows.Forms.TextBox

    .... code...

    End Class 
    but I want to "import"? the abilities of the Masked text box, but I do not know if this is possible, or how.

    Ay thoughts?
    Last edited by SThornton; May 8th, 2003 at 12:01 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width