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

Cannot scroll a panel card with a fixed height List control

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

    Cannot scroll a panel card with a fixed height List control

    I have a panel card with several controls including a 3" fixed height List control. If I first click on the List control and try to scroll up or down, the panel card will not scroll. It scrolls just fine if I first click anywhere outside of the List control. I've never noticed this behavior before. Possibly because most of my list controls fill the entire container.

    Thanks

    #2
    Re: Cannot scroll a panel card with a fixed height List control

    I think the problem is that if you have a list control by it's very nature you need to be able to scroll it to see all items on the list. That being the case the list control grabs the event handler for scrolling and overrides the event handler for panel card scrolling. If it didn't work that way then every time you tried to scroll the list you'd end up changing your panel card
    Brad Weaver, President
    ComputerAid International
    Ottawa ON Canada
    Versailles KY USA
    www.compuaid.com

    Comment


      #3
      Re: Cannot scroll a panel card with a fixed height List control

      I understand and that makes sense, but this particular list control has a fixed number of rows and the list height exposes all of the rows so it never needs to scroll to show any hidden rows. I was hoping there was an option or technique to prevent the list control from handling the drag scroll events and instead allow the panel card event handler to process them.

      Comment


        #4
        Re: Cannot scroll a panel card with a fixed height List control

        Bump

        Originally posted by DaveF View Post
        I understand and that makes sense, but this particular list control has a fixed number of rows and the list height exposes all of the rows so it never needs to scroll to show any hidden rows. I was hoping there was an option or technique to prevent the list control from handling the drag scroll events and instead allow the panel card event handler to process them.

        Comment


          #5
          Re: Cannot scroll a panel card with a fixed height List control

          Have you tried panel layouts?
          Put a panel layout set TTB in layout flow around all your controls, put the list in its own panel card and the other controls in their own panel card(s) either above or below the list then each panel will scroll independently if it is large enough to create a scroll effect

          Comment


            #6
            Re: Cannot scroll a panel card with a fixed height List control

            Lance - That won't work because I do not want my list control to scroll independently from the panelcard. I want to be able to tap/click anywhere in the list control and drag scroll the entire panelcard. It is a very small list control which only displays 3 or 4 rows which are always visible.

            I just heard that alpha is coming out with a new control called a "ViewBox". It is a scaled down version of the List control and provides the behavior I am looking for.

            Thanks

            Comment


              #7
              Re: Cannot scroll a panel card with a fixed height List control

              Adding the following code to the onRenderComplete event will prevent a list control from responding to drag scroll events. If you attempt to drag scroll by first clicking on the list control, the panelcard will scroll instead.

              var lObj = {dialog.object}.getControl('list1');
              var id = lObj.contId+'.CONTENTWRAPPER';
              A5.u.drag.setDisabled(id,'scroll',true);

              Comment


                #8
                Re: Cannot scroll a panel card with a fixed height List control

                Hhmm... My solution is similar to Lance's. A panel layout w. 2 panelcards. The bottom card has a list which always shows the 3 most recent records entered. The top panel has up to 14 fields. The top is 67%, the bottom is 33%. The bottom is not scrollable, but the top panel is. Clicking on the list doesn't prevent the top panel from scrolling. Or am I missing a more subtle point?
                Peter
                AlphaBase Solutions, LLC

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


                Comment


                  #9
                  Re: Cannot scroll a panel card with a fixed height List control

                  Peter - In this case, I do not want the list control to always be in view at the bottom of the screen with the other controls in a section above scrolling independently of it. I want it to appear in a single panelcard with other controls above it and it is okay for it to scroll off the screen. My problem was when you attempted to drag scroll the entire page of controls up or down and happened to be touching inside the the list control. The list control was capturing the drag scroll event and not allowing me to drag scroll the panelcard up or down.

                  Comment


                    #10
                    Re: Cannot scroll a panel card with a fixed height List control

                    I see. I knew I must have been missing something. What if you use a static text control or a freeform? Just populate it w. some xbasic.
                    Peter
                    AlphaBase Solutions, LLC

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


                    Comment


                      #11
                      Re: Cannot scroll a panel card with a fixed height List control

                      Peter - Here is a screen shot so you can get a better idea of what I'm doing. I originally used a repeating section, but it did not look very good and used up too much space for a mobile app. The list control does exactly what I want except there is no option to propagate the drag scroll events to the panelcard. Using the code in my post above, I can now tap anywhere on the page including on the list control and drag the page up or down. The app feels broken when nothing happens if you happen to be be on the list control and attempt to scroll the page up or down.

                      By the way, I lied about the list control being fixed length in order to simplify my post. It can shrink and grow, but I dynamically change the height and hide the control when there are no attachments. There are typically 0 to 3 attachments. Thanks for your suggestions.

                      Email.JPG

                      Comment

                      Working...
                      X