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

Can't scroll properly through list in UX component on mobile device

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

    Can't scroll properly through list in UX component on mobile device

    I've got a list inside a UX component. If you look at the attachment, it is the list of buttons right under the title "sales/business development". On my iphone, the only way I can scroll through this list is if I grab on the outer edge (the blank white area), and scroll. If I try to drag where the buttons are located, it will not work. Any way to fix this? I've played with some of the settings in the list properties and the container properties that enable drag-scroll, but nothing seems to work.

    Any ideas?

    Thanks.

    image1.PNG


    https://snap.scansourcesecurity.com/sales_map.htm

    #2
    Re: Can't scroll properly through list in UX component on mobile device

    This is a List control you're using? You'll need to provide more info as to how the List is set up... it's layout... how the buttons are created.

    As a simple test, using the List control, static data, a button added to the Field list, Freeform layout set as snaking... I don't see this behaviour. Scrolling is fine.

    In general, scrolling on a List of buttons is a bit troublesome, because you may get inadvertent button clicks during the scroll. It depends on how the user performs the scroll.

    Comment


      #3
      Re: Can't scroll properly through list in UX component on mobile device

      Maybe not what you want but could you use the list control scroller perhaps?

      http://www.alphasoftware.com/video-l...rol%20scroller
      Alpha Anywhere v12.4.6.5.2 Build 8867-5691 IIS v10.0 on Windows Server 2019 Std in Hyper-V

      Comment


        #4
        Re: Can't scroll properly through list in UX component on mobile device

        Here are some of the parameters of my list -

        layout type: freeform
        freeform type: vertical
        list item class name: {dialog.style}List Item snakingItem.

        And here is some CSS that goes along with it:

        .snakingItem {
        width: 19%;
        height: .45in;
        margin-top:.1px;
        margin-bottom:.1px;
        margin-right:2px;
        margin-left:2px;
        display: inline-block;
        background-color: rgb(89,89,89);
        color: white;
        background-image: none;
        border-radius: 2px;
        font-size: 16px;
        }
        @media (max-width: 1000px) {
        .snakingItem {
        width: 23%;}
        }
        @media (max-width: 800px) {
        .snakingItem { width: 31%;}
        }
        @media (max-width: 550px) {
        .snakingItem { width: 46%;}
        .snakingItem { font-size:16px; }
        .snakingItem { font-family:Calibri Light; }
        }



        I created all of this CSS to make the list more responsive with various screen sizes, anticipating that this will be used on mobile devices/desktops, etc.

        Let me know if any other information is needed. thanks!

        Comment


          #5
          Re: Can't scroll properly through list in UX component on mobile device

          Still no issues... under iOS or Android. What is actually scrolling on your List? Just the buttons? Is the company title scrolling? The manager stuff? What panel setup are you using?

          Is your List control set to fill? There's so much more information that could be affecting this. Can you post a sample UX with static data? That would be a lot simpler to see and to work with. Otherwise, it's a lot of guessing.

          Comment


            #6
            Re: Can't scroll properly through list in UX component on mobile device

            Let me guess on this.
            You are using containers to host all the controls.
            They have a width setting of something like 80% and left 10% and right 10% - so you have something to scroll with on the outer 10%
            The List is in a container that is set to fill container
            If you mess with it, you can scroll the entire thing from the sides and if you set the scroll for the container the list will scroll inside the container (to see more than the 12 list items) while the rest of the panel doesn't scroll?
            Is that something close?
            Insanity: doing the same thing over and over again and expecting different results.
            Albert Einstein, (attributed)
            US (German-born) physicist (1879 - 1955)

            Comment


              #7
              Re: Can't scroll properly through list in UX component on mobile device

              Pete, Yes, that is about right. So it seems that only the spaces on the left and right of the container are where I can actually grab the screen and scroll.

              This URL will actually show you what I am talking about:

              https://snap.scansourcesecurity.com/sales_map.htm

              If you go to this on a phone or tablet, you can click one of the states and it will take you to the page I am talking about.


              Any ideas on how to make that better?


              I will try to post a sample UX shortly.

              Comment


                #8
                Re: Can't scroll properly through list in UX component on mobile device

                Carl - just sent you a private message. Note 1:11 am where I am so won't answer until tomorrow.
                Insanity: doing the same thing over and over again and expecting different results.
                Albert Einstein, (attributed)
                US (German-born) physicist (1879 - 1955)

                Comment


                  #9
                  Re: Can't scroll properly through list in UX component on mobile device

                  Originally posted by peteconway View Post
                  Carl - just sent you a private message. Note 1:11 am where I am so won't answer until tomorrow.
                  Pete - From the US perspective you are already tomorrow...
                  Al Buchholz
                  Bookwood Systems, LTD
                  Weekly QReportBuilder Webinars Thursday 1 pm CST

                  Occam's Razor - KISS
                  Normalize till it hurts - De-normalize till it works.
                  Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                  When we triage a problem it is much easier to read sample systems than to read a mind.
                  "Make it as simple as possible, but not simpler."
                  Albert Einstein

                  http://www.iadn.com/images/media/iadn_member.png

                  Comment


                    #10
                    Re: Can't scroll properly through list in UX component on mobile device

                    Thanks Pete! I just sent you an email with the UX.

                    Comment


                      #11
                      Re: Can't scroll properly through list in UX component on mobile device

                      So... no post of the sample UX for the benefit of the forum??? I don't understand.

                      Comment


                        #12
                        Re: Can't scroll properly through list in UX component on mobile device

                        Glad to post for the benefit of the forum as well. UX attached. I would love feedback from anyone. Thanks!

                        sales.zip

                        Comment


                          #13
                          Re: Can't scroll properly through list in UX component on mobile device

                          From what I can see you've got 1 PanelCard, and 3 List Controls set to Fill Container. Each List is sitting inside a Container control. And so, what you're expecting is 3 separate Lists, one under the other, able to scroll. I don't think this is a great design. List controls are designed to run fully within a PanelCard... not really inside a container controls. In actual use, I think it'd be a bit cumbersome to scroll through 3 Lists, one after the other, to get to data that I need... all on a mobile device.

                          You've done a lot of work to try to get your 3 Lists displayed the way you want... which is kind of a clue as to how the design doesn't work... and how the controls are being used in a way which they were not intended.

                          Can't tell from your app, but all 3 Lists are probably coming from 1 table. I'd rather see 1 List, properly sorted and grouped with filter input and buttons to show me what I want and what I'm looking for.

                          Plus, you're then dealing with 1 List (and it's overhead) instead of 3 Lists which are pretty much all doing the same thing. You're pulling exactly the same data elements from 3 different views for 3 Lists. You're doing work 3 times and you should be doing it just once.

                          Further, if this is going to be a true Mobile app, then stop using Session Variables. Use state variables, or a control, or file storage to hold whatever values you need to persist.

                          Comment


                            #14
                            Re: Can't scroll properly through list in UX component on mobile device

                            Thanks for the feedback. Boy, I wish there was a class somewhere that taught this stuff (maybe there is?). I've really just been winging it, seeing what works. I had no idea that lists should run fully in panel cards, etc. Seems like a lot of my reasons for designing things the way I did was because I was having alignment issues. I could not for the life of me get a list to center on a page unless I put it inside a container set to 100%, and then did the fill container option. I will have to play around with it some more. There are actually three different databases, each list ties to it's own database. Perhaps I could have done this as one list, good thought. As far as session variables/state variables, I have no idea what that even means, but would love to learn.

                            Comment


                              #15
                              Re: Can't scroll properly through list in UX component on mobile device

                              If you put a List control into a PanelCard, set it to Fill Container, then add another control to the PanelCard... when you try to save that component you'll get a error from Alpha telling you that no other controls are allowed in a PanelCard when a List Control is set to fill. PanelCard Headers and Footers are allowed... but no other controls other than the List Control itself. Trying to shoehorn in other controls which get around this rule is just asking for trouble and you wrap yourself around the axle trying to get things to work.

                              Each List ties to it's own database... or own table? What the database source. I hope you're not going to say anything other than MySQL, SQL Server, or a variant.

                              Session variables... and this is just me... are excellent for web browser based apps... not Mobile apps. Mobile apps need to run through the PhoneGap Build process. These apps do work with Session vars, but they're really, really tough sometimes. State variables are readily and easily available on both the server and client side. Not so much with Session vars.

                              If, indeed, you have 3 source databases... I'd have to first as why. Then, if you're stuck with that, you'll need to determine if you can actually do with 1 List or need 3. Each List would live it it's own PanelCard. Overall, it depends on what you're trying to achieve.

                              Comment

                              Working...
                              X