Results 1 to 5 of 5

Thread: User Controls (VISTA)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    User Controls (VISTA)

    hello!
    i've got this control from someone else
    and its free for use but there is lack on the code:
    1. try to clicked the button and show the msgbox
    2. click the ok button on msgbox
    3. still the vista button will remain to its hover state

    i already modify the mouseup_event but still nothing happens
    can you correct the error?
    pls see attached and save it as ".ctl"
    tnx
    Attached Files Attached Files
    *****************
    VB6,PHP,VS 2005

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: User Controls (VISTA)

    Did this "somebody else" create the control?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: User Controls (VISTA)

    yes, and its for free to use...
    the only lack is just what i said on the first msg
    anybody can correct that?
    *****************
    VB6,PHP,VS 2005

  4. #4
    VB For Fun Edgemeal's Avatar
    Join Date
    Sep 2006
    Location
    WindowFromPoint
    Posts
    4,255

    Re: User Controls (VISTA)

    Well if you don't care what the button looks like when the msgbox is up one workaround I use with my own UC button is to disable it first, then enable it afterwards since my UC's Enable property redraws the whole button to it's normal state.

    Private Sub GradButn_Click()
    GradButn.Enabled = False
    MsgBox "Some text"
    GradButn.Enabled = True
    End Sub

    Just a thought.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: User Controls (VISTA)

    nope there is missing but i don't know where part
    i just think its on mouseUP_event but i tried to modify and didn't work
    *****************
    VB6,PHP,VS 2005

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