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

Locking the form position

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

    Locking the form position

    Does anyone have a method to lock the position of an A5 window in one place on a screen? I have users that move their form windows around and go to other open forms when they shouldn't. Most of the time I close the other forms so that this is not an issue but there are times when parallel forms are needed and I need to stop the users from moving them around and then complaining about not being able to see them.

    It sounds crazy to me but leave it to the users to come up with these challenges.

    Gene

    #2
    Re: Locking the form position

    What about adding an OnDeactivate script for the form that minimizes the window - or it might also be possible to move its position using that event.

    I am thinking of a function that you could use on any form just by setting the X & Y parameters...
    Robin

    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

    Comment


      #3
      Re: Locking the form position

      Gene,

      I run most forms full screen, with window bar disabled.

      Comment


        #4
        Re: Locking the form position

        Originally posted by Tom Cone Jr View Post
        Gene,

        I run most forms full screen, with window bar disabled.
        Dido..

        Comment


          #5
          Re: Locking the form position

          there are times when parallel forms are needed
          It seems that running full screen would not be able to accomplish.
          Robin

          Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

          Comment


            #6
            Re: Locking the form position

            Originally posted by MoGrace View Post
            It seems that running full screen would not be able to accomplish.
            Would depend on his app. Without seeing screen shots or videos showing the work flow it is hard to tell.

            But setting the form to "Current size and position" forces it to always reopen in the original position.

            If they move it during use and then complain they cannot see it, tell the to quit doing that.

            Comment


              #7
              Re: Locking the form position

              tell the to quit doing that
              lol
              Robin

              Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

              Comment


                #8
                Re: Locking the form position

                If you are talking about forms within the Alpha Five program window...

                You can open the form properties, click on the window tab, set the desired position, then remove all 5 checkmarks from the style area.

                This will remove the title bar, and prevent dragging / relocating the form.

                Of course, you need to give the end user a close button, too...

                If you are talking about preventing the Alpha Five program window itself from being moved...

                You might consider opening the form using the "POPUP" argument, and hiding the Alpha Fve program window altogether. You would also need to follow the directions above, and also add a button to show the Alpha Five program window, again.
                Last edited by CraigSchumacker; 10-03-2015, 09:46 PM.

                Comment


                  #9
                  Re: Locking the form position

                  Hello all. Thanks for all the reply's.

                  I do uncheck all menu/toolbar check boxes. My issue is that the user moves the Alpha windows around within the Windows screen. Tom, do you find that disabling the window bar prevents this ability? If so, how would I do that? I seem to remember tripping across that by mistake over the years but don't remember how that happened.

                  The reason that going full screen on these forms does not apply is because there are times within my application that referring to several open forms simultaneously is needed. Only one form is active at a time of course.

                  Thanks,

                  Gene

                  Comment


                    #10
                    Re: Locking the form position

                    To clarify. What I mean to say is that some users move the forms around within the Alpha screen. I need to disable that ability if possible.

                    Gene

                    Comment


                      #11
                      Re: Locking the form position

                      "I do uncheck all menu/toolbar check boxes."

                      Who are you responding to? If to me, that's not what I said to do.

                      I said "then remove all 5 checkmarks from the style area."

                      Comment


                        #12
                        Re: Locking the form position

                        Not sure if this will help you or not, but what we do is have the form open in a default location (200,200). The user can move the form to their liking and the new position is saved in the registry so the new location remains next time they start the database.

                        The user occasionally screws up and moves it off the screen and cannot reopen it (I still don't know how they do this).

                        We have a menu item it the main forms menu toolbar that resets the forms position by resetting the form position to the default position via a registry setting.

                        If this will solve your issue, I will post a sample showing how we accomplish this.
                        Last edited by Tim Sutherland; 10-04-2015, 10:12 AM.

                        Comment


                          #13
                          Re: Locking the form position

                          Originally posted by Gene FitzPatrick View Post
                          To clarify. What I mean to say is that some users move the forms around within the Alpha screen. I need to disable that ability if possible.

                          Gene
                          I guess I still not understand the work flow or if what you are trying to do will resolve or interfere with the work flow.

                          If they have to open several forms at once so they can reference them while entering on another form and you lock the positions so they cannot move them then you would have to pre-position each form as to where it opens.

                          Then there is the problem that Alpha does not and cannot scale to the computer screen resolution so what works on one customers screen may not work on another.

                          Comment


                            #14
                            Re: Locking the form position

                            A screenshot of what you expect the A5 desktop to look like for this multiple form scenario, would help me see what a solution might be.

                            I still think using OnActivate and OnDeactivate events would allow you to put the forms back into correct position.

                            Topparent.window_position(top,left) or top,right or bottom,left etc.
                            Last edited by MoGrace; 10-04-2015, 02:00 PM.
                            Robin

                            Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                            Comment


                              #15
                              Re: Locking the form position

                              Originally posted by CraigSchumacker View Post
                              "I do uncheck all menu/toolbar check boxes."

                              Who are you responding to? If to me, that's not what I said to do.

                              I said "then remove all 5 checkmarks from the style area."
                              That's what I do. You do need to create a "close" button (or your own red X )but it works fine.

                              Comment

                              Working...
                              X