Results 1 to 3 of 3

Thread: .Show's ownerform parameter

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    63
    Can this be used so that a form from my VB app can be associated with another application. I can't seem to find out how to use this parameter, apart from omitting it altogether, or setting it to "Me". The problem I have is that I'm showing a form from my app to control a Word session, set to Always On Top. When I click this form, all other forms in my application become visible, with Word going into the background. If there is any way I can use the ownerform parameter to associate it with the Word application, then this would not happen. Any ideas ?????


  2. #2
    Lively Member mrdarkwarez's Avatar
    Join Date
    Feb 2000
    Location
    Australia
    Posts
    113

    Question Dunno What U Saying

    Dunno What U Saying, make it more clear what the prob is

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    63
    Theres a parameter in a form's .Show method for ownerform. In VB's help it is described as "Optional. A string expression that specifies the component which "owns" the form being shown. For standard Visual Basic forms, use the keyword Me"
    I was wondering if this could be used to specify another application to "own" the form, as if you click on a modal form, the application that owns it is brought from the background to the foreground. I want word to "Own" the form, so that if my form is clicked on, Word stays in the foreground, and my app stays in the background.

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