Results 1 to 3 of 3

Thread: change a property

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113
    I like to know how to change a property eg(form1.hight) and finish the sub befor it goes to form.resize.

    So i can change form1.Hight and form1.Width then call form.resize.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113
    sorry
    ok this is what i want

    lets say

    Picture2_Change()
    End sub

    skiad_click()
    Picture2.hight = 21
    End sub

    After changing the Picture2.hight i do not whant to the program to go to Picture2_Change.

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Posts
    25

    Boolean

    Code:
    Dim NoChange As Boolean
    skiad_Click(Button As Integer)
        Picture2.height = 21
        NoChange = True
    End Sub
    
    Picture2_Click(Button As Integer)
        If NoChange Then
            NoChange = False
            Exit Sub
        End If
    End Sub
    that should do it
    Code:
    If at work Then GoTo UseDifName

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