Results 1 to 3 of 3

Thread: using Watch

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    London
    Posts
    99

    Cool

    Can you 'watch' form properties. I've tried this but it doesn't work.


    frm1.text1.text="different value"




  2. #2
    Member
    Join Date
    Jan 1999
    Location
    Longmont,CO
    Posts
    53

    Talking

    I don't think you can watch form properties directly. You can do something like this:

    Private Sub Form1_Change()

    'assign text to local string
    Dim str As String

    str = Text1.Text

    End Sub


    Add the watch for str in the Form1_Change scope and break on that.

    Hope this helps,

    Dan

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    London
    Posts
    99

    Talking

    Yes you can watch form properties.

    It was as I put in my first post except that now for some reason its working!


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