Results 1 to 7 of 7

Thread: is it a bug? (resolved)

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908

    is it a bug? (resolved)

    i have used a button, change it to graphical style(with color) and when i click on it, it will unload the form (with the button on it), load it again....then show() the form...but the button change..it seems unstable to me...wat happens? can anybody explain?
    Last edited by Goh; Apr 22nd, 2004 at 10:38 AM.

  2. #2

  3. #3
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775
    When you say changes do you mean it defaults with no picture on it?

    Cheers

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    with color on the cmd button.

    for eg. a button with a form on it..

    on the click event :

    VB Code:
    1. ....
    2. unload form1
    3. load form1
    4. form1.show
    5. end sub

    the color of the button wont stay the same...a few more clicks is not the same too....if using standard style...then theres no problem..

  5. #5
    Fanatic Member laserman's Avatar
    Join Date
    Jan 2002
    Location
    Wales U.K
    Posts
    775
    Change the usemaskcolor to true at the bottom of the button property box
    in the command button property

    All done

  6. #6

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    nope..even if i add the 'DoEvents'
    it still happens....however if i change the 'mask' to true..it works!...
    thanks to you all!

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