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

Start_up Form Maximized

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

    Start_up Form Maximized

    I have a Startup form that is maximized within the A5v8 window. the A5v8 window is also maximized at runtime.

    I have set the database properties to maximize the start form window at runtime, and have the form properties window style set to Can Be Maximized.

    When my app starts the startup form window maximizes as I want it to. See image 1 below.

    However, When i click a button on the start up form to open another form, the start up form loses its maximized state. See image 2.

    When i close the second form the start up form still stays "unmaximized." See image 3.

    I have all forms that get opened via a button on the start form to open as non-modal and to center. They are all not maximized.

    I cannot figure this out. Any suggestions would be greatly appreciated.
    Thanks in advance
    Tony

    #2
    Re: Start_up Form Maximized

    Unfortunately the window state of maximized or not applies to all the windows at the same time. So if you want to run some non maxed windows then set your start form to open using the "fill" setting. How? Don't set maximized in the database properties and then add this to the the OnActivate event of the form.
    Code:
    topparent.window_position("fill","fill")
    You could also not specify a startup form in the database properties and open the form from an autoexec script instead with
    Code:
    form.view("YourForm","","","fill","fill")
    Tim Kiebert
    Eagle Creek Citrus
    A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

    Comment


      #3
      Re: Start_up Form Maximized

      Tom,
      Thanks for the quick reponse.

      Your response did the job but is creating another "oddity."

      When the startup form first opens there is a 1/4 inch gap along the bottom and the right side of the screen. see that attached image.

      I am assuming this space is where the scroll bar would be if needed.

      However, when i open and close a second form the space disappears and the window is completely filled.

      Any thoughts.
      Tony

      Comment


        #4
        Re: Start_up Form Maximized

        What method are you using to open the form?
        Tim Kiebert
        Eagle Creek Citrus
        A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

        Comment


          #5
          Re: Start_up Form Maximized

          I hope i am answering the correctly:

          I have the form set as the startup form under the database properties

          Comment


            #6
            Re: Start_up Form Maximized

            Originally posted by reynolditpi View Post
            I hope i am answering the correctly:

            I have the form set as the startup form under the database properties
            Partly. I take it then that you put the code in the OnActivate event of the form.

            Did you remember to untick the box in data base properties re maximizing the form?
            Tim Kiebert
            Eagle Creek Citrus
            A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

            Comment


              #7
              Re: Start_up Form Maximized

              Yes,
              I removed the check mark.

              I do not know if this helps, but when I open the form by selecting it from the forms tab it fills all of the way across, still leaves a 1/4" gap at the bottom, displays a bottom scroll bar, and all of my object do not expand (have their anchor properties to expand with the form).

              In edit mode, the form is about 10.5 wide by 6.5 tall.

              I have attached a screen shot.

              Comment


                #8
                Re: Start_up Form Maximized

                It could be a timing issue. I just tried here and with a quite small form and the form did not fill the screen till I switched to the control panel and back again. If I use the method of an autoexec script then the form does fill. I would say that is because the script runs at a slightly later time than opening the form through database properties.
                Tim Kiebert
                Eagle Creek Citrus
                A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

                Comment


                  #9
                  Re: Start_up Form Maximized

                  I think I fixed it. Under form properties I had the width and height set to 100 percent. I changed it to default and it now fills the window.

                  However, my opjects still stop about 1/4 inch from the right side. It fills the rest of the space with white which is what I have the backdrop set to. It looks okay so I do not mind it.

                  Thanks again for all of your help.
                  Tony

                  Comment


                    #10
                    Re: Start_up Form Maximized

                    Tony, Tim,

                    I also remember the thread that originated this method (but cannot find it now) and the window Frame style was supposed to be set as Tool. Worth a try.
                    Mike
                    __________________________________________
                    It is only when we forget all our learning that we begin to know.
                    It's not what you look at that matters, it's what you see.
                    Henry David Thoreau
                    __________________________________________



                    Comment


                      #11
                      Re: Start_up Form Maximized

                      Tony

                      You also might check out Maryjane's (of AlphaDzine) discussion on this:

                      http://www.alphadzine.com/commerce.c...195245729.6024

                      Look at the Visual Guide and the forms setup section. She talks about her methods of doing the same thing in there. Similar advice to what Tim gave you about using "fill" but there are some differences in her info that might help you.

                      Regards,

                      Jeff

                      Comment


                        #12
                        Re: Start_up Form Maximized

                        Thanks Jeff and Mike. I have read through the alphazine tutorials and have the frame set to tool the whole time.

                        I thought i had things figured out. Last night before i went to bed, i shut down and started a5 up a couple times to run my app and the start window expanded and looked great.

                        This morning, the gaps were back upon initial startup. When i open the form from the form tab of the control bar it seem that it opens to a different size at random.

                        I am going to create an install and run it on another computer to see what happens.

                        Thanks again.
                        T

                        Comment


                          #13
                          Re: Start_up Form Maximized

                          Tony,

                          I did a bit more research and found a post by Jerry Brightbill in which he stated he had a problem with this also and had to use
                          Code:
                          topparent.window_position("fill","fill")
                          Twice in a row to get it to stick...unsure of where he placed his code.

                          My topparent.window_position("fill","fill") is used on my startup wallpaper form in version 5 where I use this...currently, I guess, a newer function called zOrder is used to keep the Wallpaper form on the bottom also--unsure of how you are doing this...the "old" way is to simply disable the form.

                          I also have a gap appearing occaisionally but when the "2nd" window(fill,fill) is put on whatever form's OnActivate() event it keeps the wallpaper to the edges for me--probably a better way but have not worked on it really yet--so will be watching to see if better, more efficient ways are given/thought of in this thread.
                          Mike
                          __________________________________________
                          It is only when we forget all our learning that we begin to know.
                          It's not what you look at that matters, it's what you see.
                          Henry David Thoreau
                          __________________________________________



                          Comment


                            #14
                            Re: Start_up Form Maximized

                            Tony

                            I just wanted to say that I like the looks of your application. Great work!

                            Regards,

                            Jeff

                            Comment


                              #15
                              Re: Start_up Form Maximized

                              Mike,
                              I noticed that Maryjane had doubled the topparent.window_position("fill","fill") statement in her tutorial and I tried it on my onactivate event. It still did not work properly.

                              Honestly, I have given up on the idea to fill the window with my startup form. I have reverted it back to a windowed form instead. The function is the same and ultimately that is what counts (i guess).

                              Jeff,
                              Thanks for the compliment. I have made a few more visual changes and I am not sure if I like them or not. Any feedback is always appreciated. I have added a screen shot. I guess 4 years of art in high school has finally paid off!!!

                              Thanks to both of you once again.
                              T

                              Comment

                              Working...
                              X