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

Form opening process needs work

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

    Form opening process needs work

    Hello Developers and Alpha:

    When a form is opened, the first field that has focus appears as a black highlighted field on an empty background. If the form background has a couple of frames and you have a colored backdrop, say indigo, the first field that has focus appears in highlighted black on an empty indigo backdrop. Then the rest of the frams and fields display simultaneously. I see this on an 800 mHz Athalon machine with 256MB RAM, and on a 2.2 GHz P4 with 512MB RAM - both having fairly hot video cards.

    This behavior is not pleasant to the user to say the least. I have never seen a development language open forms this way. All languages that I have worked with display the window contents immediately, not in parcels like Alpha.

    If you have a browse on the screen, the browse will become visible along with the first field that has focus, and then the rest of the frames/fields will become visible. This is even more unpleasant to the eyes of the user.

    I have tried various ways to get around this, but is probably an Alpha issue.

    I would think that loading the form into memory, followed by a show() would cause the entire window to open immediately, but this process does not cause any improvement.

    I am concerned about selling a product with this behavior which is clearly "non-standard windows behavior." The whole window should be displayed immediately, not in two parcels.

    If anyone has a suggestion on how this might be improved other than eliminating frames or other cosmetics from windows, please let me know.


    Regards,
    Chet Sapino
    President,
    SAPINO Enterprises
    6451 Pheasant Rd
    East Syracuse, NY 13057

    #2
    RE: Form opening process needs work

    Depending upon circumstances, I agree that their can be some screen "flashing" issues. But what you describe does not sound right to me. I just opened a bunch of forms in Alpha Sports and I don't see the behavior that you describe. You have enough ram in either case so i don't know why you are having that issue. As a possible work around have you tried something like this?
    [b]
    f=form.load("MyForm")
    xbasic_wait_for_idle()
    f.activate()
    f.show()
    Peter
    AlphaBase Solutions, LLC

    [email protected]
    https://www.alphabasesolutions.com


    Comment


      #3
      RE: Form opening process needs work

      I haven't tried the idle code, but I have tried load and show. I will look at it.

      Put a couple of solid frames on the window with an indigo background and then try it.
      Regards,
      Chet Sapino
      President,
      SAPINO Enterprises
      6451 Pheasant Rd
      East Syracuse, NY 13057

      Comment


        #4
        RE: Form opening process needs work

        I just added 3 solid-indigo frames to the Alpha Sports Invoice form.I put the frames over fields in all three cases. No problem as per your description. See attached screen shot (not that the screen shot would demo the problem)...
        Peter
        AlphaBase Solutions, LLC

        [email protected]
        https://www.alphabasesolutions.com


        Comment


          #5
          RE: Form opening process needs work

          What is supposed to happen when I click "Attach Files." Is a folder dialog supposed to appear allowing me to select a file?

          I have a zip file illustrating the 2 phase form opening phenomena, but I am unable to send it.

          Please advise.

          Regards,
          Regards,
          Chet Sapino
          President,
          SAPINO Enterprises
          6451 Pheasant Rd
          East Syracuse, NY 13057

          Comment


            #6
            RE: Form opening process needs work

            Here is the 2-phase sequence of form opening that I am seeing (See attached zip). They display about " 1 sec apart. I was able to catch them with Alt-PrtScrn. I copied them into an RTF and zipped them up.

            The first image shows the form with an indigo backdrop and the field with the first tab position. The window then fully opens as shown in the second image which has a dark red frame and a pale yellow frame. This happens with all Alpha 5 V6 forms on both of my machines - my own apps plus three other Alpha commercial apps - e.g., Contact Manager, Order Entry, and Time and Billing. They all show this.

            You just have to look for it. It's there. Watch it carefully. It's not a flicker, just a 2 phase opening.

            I am used to seeing windows snap open immediately with other development tools that I am using, such as Clarion For Windows. I've never seen this before, so it's readily apparent to me.
            Regards,
            Chet Sapino
            President,
            SAPINO Enterprises
            6451 Pheasant Rd
            East Syracuse, NY 13057

            Comment


              #7
              RE: Form opening process needs work

              Right. If I scroll down in MS-Word I can simulate the effect that you describe. But again, I don't believe that is normal Alpha behavior. I don't have that problem at all. Maybe someone else can chime in?
              Peter
              AlphaBase Solutions, LLC

              [email protected]
              https://www.alphabasesolutions.com


              Comment


                #8
                RE: Form opening process needs work

                Chet are you using the most recent patch? See the post http://msgboard.alphasoftware.com/alphaphorum/read.php3?num=15&id=21018&loc=0&offset=0&sortby=lastreply&direction=desc&thread=21018

                It appears that forms are loading slowly with 2055. I am still using 2051 and do not see the problem you described with forms.

                Comment


                  #9
                  RE: Form opening process needs work

                  I am using the latest 2055 patch, but I see it with 2051 also.

                  Just duplicate my windows exactly. Select an Indigo background, put a Dark red frame at the top with some text, and an adjoining pale-yellow frame below it and then populate a field with a lookup, for example.

                  You should see the phenomena I am observing. I cannot believe it cannot be seen by other or duplicated. It's visible enough to get captured by Alt-PrtScrn.

                  People using Alpha are probably too used to it.

                  Regards...
                  Regards,
                  Chet Sapino
                  President,
                  SAPINO Enterprises
                  6451 Pheasant Rd
                  East Syracuse, NY 13057

                  Comment


                    #10
                    RE: Form opening process needs work

                    Have you duplicated my example windows exactly as per the zip file? I cannot believe you cannot see it. The delay is noticeable enough to be captured by AltPrtscrn.

                    What speed CPU do you have?

                    Regards...
                    Regards,
                    Chet Sapino
                    President,
                    SAPINO Enterprises
                    6451 Pheasant Rd
                    East Syracuse, NY 13057

                    Comment


                      #11
                      RE: Form opening process needs work

                      Why don't you post the dbf file in question? Just zap all the data first & compact before putting it on this board. Then we can see it exactly (or not)!
                      Peter
                      AlphaBase Solutions, LLC

                      [email protected]
                      https://www.alphabasesolutions.com


                      Comment


                        #12
                        RE: Form opening process needs work

                        It is a huge proprietary database. It's very easy to duplicate. Just design the window that I posted up here in the zip file.
                        Regards,
                        Chet Sapino
                        President,
                        SAPINO Enterprises
                        6451 Pheasant Rd
                        East Syracuse, NY 13057

                        Comment


                          #13
                          RE: Form opening process needs work

                          Chet, people want to help you, but they don't necessarily want to do all the work! We only need the one dbf file w. the one form w/o any records. Not to mention it's much better to see your form in case there is something else going on in there.
                          Peter
                          AlphaBase Solutions, LLC

                          [email protected]
                          https://www.alphabasesolutions.com


                          Comment


                            #14
                            RE: Form opening process needs work

                            I see it now. Go to Alpha Sports - Invoices - change the background to Indigo. Same results as Chet. However, if you change the tab order where the first item is not a field, the problem does not occur. Looks like a bug.

                            Comment


                              #15
                              RE: Form opening process needs work

                              Ok, I see that too. Repaint issue. Alpha?
                              Peter
                              AlphaBase Solutions, LLC

                              [email protected]
                              https://www.alphabasesolutions.com


                              Comment

                              Working...
                              X