Results 1 to 6 of 6

Thread: Pretending to click a button ....

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Itabirito,Minas Gerais, Brazil
    Posts
    79

    Post

    Hi, everybody!

    Is there a way I can simulate a click on a button?

    Inside one button click event, I'd like to call another button click event, but if I use the line
    Private Sub Btnaltera_click()
    to call it, VB returns an Ambiguous name detected error.

    Thanks in advance for any help :-)
    Roselene

  2. #2
    Lively Member
    Join Date
    Jan 2000
    Location
    Springfield, IL
    Posts
    124

    Post

    You can code it:
    Code:
        Call Btnaltera_click
    This will call the Click event for the button, but it will not simulate the button actually being pushed.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Itabirito,Minas Gerais, Brazil
    Posts
    79

    Post

    Bsmith,

    Thanks for helping! It's seems to be so simple, now that you've already given me the solution :-)

    See you,
    Roselene


  4. #4

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Itabirito,Minas Gerais, Brazil
    Posts
    79

    Post

    Bsmith,

    Thanks for helping! It's seems to be so simple, now that you've already given me the solution :-)

    See you,
    Roselene


  5. #5

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Itabirito,Minas Gerais, Brazil
    Posts
    79

    Post

    Bsmith,

    Thanks for helping! It's seems to be so simple, now that you've already given me the solution :-)

    See you,
    Roselene


  6. #6

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Itabirito,Minas Gerais, Brazil
    Posts
    79

    Post

    Bsmith,

    Thanks for helping! It's seems to be so simple, now that you've already given me the solution :-)

    See you,
    Roselene


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