Results 1 to 1 of 1

Thread: need help with custom control

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    403

    need help with custom control

    hi all,

    i created a custom control i call DateTimeTextBox. i've added a couple of custom properties listed below.

    FormatMask - format mask of the date value.
    Value - the actual value of the date. bindable.

    the Text property is where the formatted value of the date is shown.

    the problem i'm having right now is that whenever i add a new record, the Textbox.Text value remains to whatever it had last.

    can someone help me with this?

    i've attached a zip of the customcontrol as well as a sample project with an access database for your testing.

    thanks
    Attached Files Attached Files

    VB Version: Microsoft Visual Studio 2008 Professional Edition
    .NET Version: Microsoft .NET Framework Version 3.5
    OS: Windows XP SP3

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