How to use SelectOnScreen

How to use SelectOnScreen

Anonymous
Not applicable
136 Views
3 Replies
Message 1 of 4

How to use SelectOnScreen

Anonymous
Not applicable
Hello - I'm having some trouble using SelectOnScreen method. I get an error
that says "AutoCAD main window is invisible" when the method is used. What
do I need to do to hide my form and allow the user to pick?

Thanks in advance for any help
0 Likes
137 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Hello - I'm having some trouble using SelectOnScreen method. I get an error
that says "AutoCAD main window is invisible" when the method is used. What
do I need to do to hide my form and allow the user to pick?

Thanks in advance for any help
0 Likes
Message 3 of 4

Anonymous
Not applicable
Hi Andy,
If your initiating selectonscreen from a form, use the command me.hide
immediately before your selection and me.show immediately afterward. If your
using selectonscreen form a module, there's an example two strings up under the
title "acadblock.insertionpoint?"
-Josh

Andrew Armstrong wrote:

> Hello - I'm having some trouble using SelectOnScreen method. I get an error
> that says "AutoCAD main window is invisible" when the method is used. What
> do I need to do to hide my form and allow the user to pick?
>
> Thanks in advance for any help
0 Likes
Message 4 of 4

Anonymous
Not applicable
nevermind, i got self help. the answer is form.hide

"Andrew Armstrong" wrote in message
news:ef072d1.-1@WebX.SaUCah8kaAW...
> Hello - I'm having some trouble using SelectOnScreen method. I get an
error
> that says "AutoCAD main window is invisible" when the method is used.
What
> do I need to do to hide my form and allow the user to pick?
>
> Thanks in advance for any help
>
0 Likes