forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

keypress routine

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
rogerh



Joined: 02 Nov 2014
Posts: 46
Location: Longmont, CO

PostPosted: Sat Apr 04, 2015 5:23 pm    Post subject: keypress routine Reply with quote

Me again.

Does F95 have a keypress command?

Specifically, one which says IF a key is pressed, do something ELSE continue current program

The intent is to interrupt a running program temporarily.

As for example, move a cursor on a chart being displayed.

Roger
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Sat Apr 04, 2015 9:27 pm    Post subject: Reply with quote

In a console app or a Windows app?

For the former, read the downloadable FTN77 library reference (available in the FTN95 part of the website under 'documentation').

For the Windows side make a button (%bt) or an accelerator key (%ac). Drawing surfaces respond fully to mouse clicks and keyboard keys if you provide the code in the appropriate callback function.
Back to top
View user's profile Send private message
rogerh



Joined: 02 Nov 2014
Posts: 46
Location: Longmont, CO

PostPosted: Sat Apr 04, 2015 9:32 pm    Post subject: Re: Reply with quote

LitusSaxonicum wrote:
In a console app or a Windows app?

For the former, read the downloadable FTN77 library reference (available in the FTN95 part of the website under 'documentation').

For the Windows side make a button (%bt) or an accelerator key (%ac). Drawing surfaces respond fully to mouse clicks and keyboard keys if you provide the code in the appropriate callback function.


Thanks.

Could be either one so I'll pass this along to him.

Roger
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group