Results 1 to 2 of 2

Thread: Has form be changed...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2006
    Posts
    170

    Has form be changed...

    I have had a look for this on the forum, but could not find anything....

    I have a userControl and what I want to be able to do is tell if any of the controls on the form have changed since I clicked a button.

    e.g.

    1) Set control values
    2) Click button
    3) Change control values
    4) Click another button which tells me if the controls have changed since the button was clicked in stage 2

    Thanks

    Simon

  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Has form be changed...

    If it is some specific controls and some specific properties you want to monitor, then you could keep them in any collection and check them whenever you want to.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

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