Results 1 to 2 of 2

Thread: current object???

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    TURKEY
    Posts
    37
    why it is very difficul to find current (active) form,current(active ,navigated) item ect.
    in visual basic...

    or example
    programming in excel you can find active workbook active
    window ect very easly..

    but in vb .you can't

    is there any easy way to do it...

  2. #2

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    TURKEY
    Posts
    37

    Question I find something but...

    I can find activecontrol. But when I click command button
    navigated item (active item) becoming command button...
    I doesn't want to navigate command button..
    my code as...

    Private Sub Command1_Click()
    Dim a As Control
    Set a = Form1.ActiveControl
    MsgBox a.Name

    End Sub

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