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

Browse window position

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

    Browse window position

    Is there any way of positioning the browse window and size in a specific location?
    I have found that in the events ON PUSH you can add action scripting to open a form/browse layout and in the first screen you get a tab selection. The "options" tab has an override choice which allows you to select a position or do a pixel value for left and top positions.

    After selecting either the given positions or entering a pixel value, when I run the script, I get the error noted in the attached pdf. The script runs okay until I try to change the position.

    There are suggestions on the list to do an embedded browse in a form but why not a choice such as in the form properties window tab that allows you to accept the current position?

    Larry

    #2
    Re: Browse window position

    <BROWSE> as P = BROWSE.VIEW( Browse_Name as C [, Style as C [, Window_Name as C [, Window_Name as C [, Horizontal_Position as N [, Vertical_Position as N ]]]] )
    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


      #3
      Re: Browse window position

      Martin, thanks for the solution however my abilities have not progressed to understanding this code and how to use it.

      The application that was developed for work has served us well over the last 8 years however as I upgrade Alpha, some items that used to work have started behaving differently. There has been considerable guidance and solutions provided directly and indirectly on the list that has made this possible for which I am grateful.

      I am going to try and add another module to the application and will have to put some effort into relearning some of the old and new capabilities of the product to fix the issues and add the new items. Perhaps I will one day progress to the point of being able to do some of the high tech stuff.

      What I have found in the last week is that experimenting with a simple test database makes it a lot easier to try things without the worry of corrupting the working application so this has picked up my interest level in moving forward.

      Comment


        #4
        Re: Browse window position

        browse.viewqueried() from V5-5 forward, according to the documentation, does not provide for positioning - whereas browse.view() does

        you could use browse.view() and within the browse set the browse's filter to a variable supplied before opening it
        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: Browse window position

          Martin, I just implemented your suggestion as I start to rework my application.
          I think I could become dangerous with this new found ability.

          Thank you:)

          Comment


            #6
            Re: Browse window position

            Glad it helped
            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


              #7
              Re: Browse window position

              I'm running into a similar situation where I have a menu open a browse report, but no matter what I do, the window never opens in the same location at runtime. I set the script to have it positioned Top/Left, but it starts there, then the next time it is lower and to the right, then the next further lower and to the right like it's walking down a tree. Then it reaches the bottom right of my maximized window and then starts over again at the top left. I tried using the options tab on the browse object open and set the x/y coordinates and that doesn't work. I tried setting the window location on the browse event itself for onFetch and onInit. I also end up with this showing up in events (FUNCTION Actions_ButtonClick AS V ( event AS C, data AS C , row AS N )
              'DESCRIPTION: Fired when a button is clicked on a column.
              'Arguments: event - the name of the event that is fired
              ' data - the data in the column cell
              ' row - the row number in the browse
              'this.SetViewport_Row() sets the current row to the row with the button that was clicked.
              this.Set_Viewport_row(row)

              END FUNCTION) and no matter what I try to delete it, it doesn't go away.

              Really frustrating and I've spent hours trying every variation of Action Scripting with no success. What am I doing wrong? My Menu runs a script which opens the browse. My browse has a doubleclick even (which works) and a right mouse click event (which works), but the window location just doesn't want to work. I am on the latest version of v10.5 (build 4288).

              Regards,
              Steve

              Comment


                #8
                Re: Browse window position

                My earlier elation thinking that I was able to fix the positioning was short lived as it does not work for me either.

                Perhaps embedding the browse in form is all that can be done

                Larry

                Comment


                  #9
                  Re: Browse window position

                  Thanks Larry, hopefully there is a better solution than to add more configuration for to support window positioning. I will try that as a local change, but perhaps the engineers can fix the existing window positioning controls so they are working more reliably. :-)

                  Steve

                  Comment


                    #10
                    Re: Browse window position

                    Tried the form substitution and not happy with that implementation. Would change the total look and feel of the application I am building. While the positioning of the browse results is set and doesn't change, it is more practical to fix the bug in the way the window is controlled and handled so it's not a moving window. Hopefully someone from A5 will have a fix for this in the next patch. :-)

                    Comment


                      #11
                      Re: Browse window position

                      has it been reported and verified as a bug?
                      Mike W
                      __________________________
                      "I rebel in at least small things to express to the world that I have not completely surrendered"

                      Comment


                        #12
                        Re: Browse window position

                        nope, thought the first step is to post an issue here to see if anyone else experiences the behavior and it looks like it is at least reproducible. So the next question is, does A5 already know about it and when will it be fixed?

                        Comment

                        Working...
                        X