PDA

View Full Version : Lisp Question - entsel


mlv
09-09-2005, 05:59 AM
When selecting an entity with entsel, e.g.

(setq ent (entsel "\nSelect entity: "))

in the event of a null pick, is there any way to establish whether the user
clicked on an empty area of the screen, or whether the user hit 'return' on
the keyboard (or right-clicked on the mouse)?
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-

Paul Turvill
09-09-2005, 07:28 AM
Check out the ERRNO variable; 7 = bad pick, 52 = rt click/enter.
___

"mlv" <mike.safetycatchvincent@jet.uk> wrote in message
news:dfs4fj$7c6$1@box-public-8.jet.uk...
in the event of a null pick, is there any way to establish whether the user clicked on an empty area of the screen, or whether the user hit 'return' on the keyboard (or right-clicked on the mouse)?

mlv
09-09-2005, 09:06 AM
Paul Turvill wrote: Check out the ERRNO variable; 7 = bad pick, 52 = rt click/enter.

Thanks Paul.

Good to see you still frequent this ng (I've been away for some considerable
time).
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service