General information
Category:
Object Oriented Programming
>You may be right; I haven't written code to do what you're looking to do, so it could be a complete waste of time. My thought was to save where you are and activate the object-hunting code with the first keystroke, and get all the gory details with the second, returning to the thing you were working on before you started object hunting.
>
>AMOUSEOBJ works with the topmost form by default, so that you can mouse and dialog around to bring whatever it is you like to the top; having saved the WONTOP() with the first keystroke, you can go back there once you find what you were looking for. At least in theory, as long as you don't close the window you were working in, you can even bring new things to the screen before pressing the second key.
>
>Once you've selected the correct thing, you can take the object reference from the AMOUSEOBJ() and pass it into ASELOBJ(); remember, what's returned by AMOUSEOBJ() is an object reference, not a name.
>
>Sorry if this wasn't what you were looking to do; it just looked to be a possible path for you to explore.
>
>Ed
Ed,
Thank you very much for your inspiration and valuable information.
Ben
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only