Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

key functions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    key functions

    In Alpha 4 I was able to assign a "key" function to a bar
    script attach to a form, which would open indexes,locate, search,run another script. Now in Alpha 5 ver.4 I miss being able to use keystrokes, instead I have to use buttons which require the use of the mouse.

    #2
    RE: key functions

    James, welcome to Windows.

    Alpha Five permits you to define your own 'hot keys' for each form, so it's possible to add keyboard functionality without using the mouse so much. Check the discussion of the OnKey() event in the Xbasic Ref. Manual, and search for onkey examples in this message board.

    -- tom

    Comment


      #3
      RE: key functions

      James,

      Buttons on forms can have hotkeys as well. Just include a "&" ampersand before the character you want to be activated by keyboard. These will then be activated by Ctrl and the character. Note that some Ctrl-keys are unavailable in Alpha 5/Windows.

      You can even make the buttons invisible by hiding them if you wish not to see the actual button, yet it will still activate.

      For any other keys, you will have to use the ONKEY event of a form, but that script code can slow down the key response on a slower system, especially if not written well.

      Regards,

      Ira J. Perlow
      Computer Systems Design & Associates
      [email protected]
      Regards,

      Ira J. Perlow
      Computer Systems Design


      CSDA A5 Products
      New - Free CSDA DiagInfo - v1.39, 30 Apr 2013
      CSDA Barcode Functions

      CSDA Code Utility
      CSDA Screen Capture


      Comment


        #4
        RE: key functions

        Just for the record - "F1" and "F6" cannot be trapped. I let the users use the "F" keys to perform certain searches, etc. And I only recently discovered that the "F5" key cannot be successfully trapped, either. It will perform code you put there,(at the onkey event for the form,) but can't be trusted. I was using it to get the current customer number and name to stuff variables, and then load a new form - and it was apparently advancing the record so it was getting the incorrect customer number.
        Cole Custom Programming - Terrell, Texas
        972 524 8714
        [email protected]

        ____________________
        "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

        Comment


          #5
          RE: key functions

          TOM

          I am familiar with "Hot Keys", put it requires
          that I hit the ctrl key and the other key. I want
          to hit only "one" key to activate a function.

          thanks for your help.........James

          Comment


            #6
            RE: key functions

            Ira

            Im familiar with "Hot keys" put it requires that
            you hit ctrl and another key. I want to be able to
            press only "One" key to activate a function

            Thank for your help...........james

            Comment


              #7
              RE: key functions

              James, the onkey event for the form can be used to do what you are looking for. It is not restricted to Ctrl key combinations. -- tom

              Comment


                #8
                RE: key functions

                TOM

                If you could give me an example of say Ctrl+L which opens
                the Find Text Function where I only had to hit the letter "L" for this to come up.

                appreciate your help James

                Comment


                  #9
                  RE: key functions

                  Here's a quick and dirty example. Probably still needs some polishing.

                  Unzip the attachment to a separate folder. Do not mix it with your development work.

                  Open form Names1. If you strike the 'L' key while form is not in change or enter mode, and while focus is not inside the Name field, the form will begin a find by text.

                  -- tom

                  Comment


                    #10
                    RE: key functions

                    TOM

                    I appreciate your help. I have been using Alpha 4 and 5 for many years. I have not use Xbasic very much. and I like what you have shown me. Most of the time I use recorded
                    scripts, and operations to do things i need to do at work.
                    There are people At work who want me too try Microsoft
                    Access, but Alpha5 has always been easier to use. The people
                    In my Dept. are very satified with the applications I have
                    come up with, but other departments would rather i use Access, because thats what they use,and that we would communicate better between depts.

                    I think Alpha is better, I have been trying to find some
                    customer report that rates databases like Alpha5,Access,Approach,etc. I would like to show other depts. that Alpha 5 rates up with or exceeds these other databases if you know of any article or information like this, i would appreciate it. This is the first time i have been on this Alpha message board, and I appreciate your time.

                    Comment


                      #11
                      RE: key functions

                      James,

                      Do a search on this message board for "Access A5" (without the quotes) and you should find plenty of ammunition. Some is rather biased but you will find plenty that isn't. You might also check for messages by Geoff Hollander as he has done some magazine reviews in the past and has presented some rather unbiased opinions. (At least as unbiased as you can expect from someone who prefers A5.)

                      Comment


                        #12
                        RE: key functions

                        Hi James,

                        Along with what Tom said, you can also program some of the F keys w/o using the alt key. With the help of this board, I programed the F12 key to copy the data into the field from the previous record (not the whole record but just the field.

                        Works great to use only one key. As stated, not all F keys are avaiable but you should be able to use some of them to do what you need w/o using the Alt key.

                        kenn
                        TYVM :) kenn

                        Knowing what you can achieve will not become reality until you imagine and explore.

                        Comment


                          #13
                          RE: key functions

                          Martin

                          I have been able use the F5 key to open a drop down look up table. Let me know if you want the script.

                          Keith Hubert
                          London

                          Comment

                          Working...
                          X