Results 1 to 13 of 13

Thread: error 5 invalid procedure call or argument set form hide event or change visible

Threaded View

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question error 5 invalid procedure call or argument set form hide event or change visible

    Hi
    When I try to call event hide in form , return me error 5 invalid procedure call or argument

    The error only show in run time execution, not show in design

    Code:
       form2.show 1
    Inside form2 there is a button
    Code:
    Private Sub cmdCancel_Click()
    
     '--- other commands
    
      Me.Hide   '-- here in return error in run time execution
    '-- others commands
    '-- try too me.visible = false  , but show same error
     end sub
    The compiler VB is in VM (Virtualbox) SO XP and I run in win10

    I search in forum , and not see something equal
    Last edited by mutley; Jan 13th, 2017 at 11:48 AM. Reason: put when visible = false

Tags for this Thread

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