Results 1 to 3 of 3

Thread: [RESOLVED] MaskEdBox control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2007
    Posts
    26

    Resolved [RESOLVED] MaskEdBox control

    I have use tis control for input time and i haf a function call check where it checks whether the input is valid or not. How to put maskedbox into a sub function so that i can reuse my check sub function for other maskedbox?

    private sub check(???? as ????)

    End Sub
    Last edited by Hack; Jan 31st, 2007 at 08:07 AM. Reason: Added [RESOLVED] to thread title and green "resolved" checkmark

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: MaskEdBox control

    VB Code:
    1. Private Sub CheckEditBox(ptbBox As MaskEdBox)
    2. 'do stuff
    3. End Sub
    4.  
    5. Private Sub Command1_Click()
    6. CheckEditBox MaskEdBox1
    7. End Sub

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2007
    Posts
    26

    Re: MaskEdBox control

    Quote Originally Posted by Hack
    VB Code:
    1. Private Sub CheckEditBox(ptbBox As MaskEdBox)
    2. 'do stuff
    3. End Sub
    4.  
    5. Private Sub Command1_Click()
    6. CheckEditBox MaskEdBox1
    7. End Sub
    thks! =]

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