Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3103 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I want to be able to create a popover that when pressing a specific key it exits to a certain script.  This is in a layout where a part is looked up.  A variable has been create with the following Set variable [$Gnumber;Value:""] which then displays in a popover which I want the user to enter the number and then press a certain key (like F8 or F9) which then runs a script that assigns that variable to perform a find in the database.  My issue is how do I test for certain keystrokes in an easy way, what codes are assigned to function keys or even the enter key?

 

Thanks

Paul

Posted
2 hours ago, Tron50 said:

A variable has been create with the following Set variable [$Gnumber;Value:""]

Unrelated to your question, but setting a variable to an empty string does not "create" it. On the contrary: it erases it, if it already existed. If it didn't, the action does nothing.

WRT to the question, it seems that a custom dialog, showing a global field, would be a more appropriate choice here.

This topic is 3103 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.