Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
ryesyfan

keydown delima

Recommended Posts

've got a script that uses the Keydown() function to halt execution - I also use the GetLine() function and have found that once I've called GetLine() I no longer can trap a keyboard hit.

Example:

BEGIN

WHILE NOT KeyDown(keyHit) DO BEGIN

getLine(Px1, Py1, Px2, Py2);

END;

Execute additional code.....

END;

If the users hits a key execution is terminated from GetLine() and I can not execute the additional code as the entire script has termintated.

Thanks for any guidance you can offer.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×