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

"Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

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

    "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

    I'm trying to use a TabbedUI in a mobile application (latest version of AA). I don't have a Home Page displayed, nor do I have Login/Logout links (wouldn't help anyway, those don't seem to work in the mobile format). I have a series of buttons displayed vertically along the left-hand side of the TabbedUI, each of which, when pressed, opens a component. So far so good, however........each component's pane has a "Close" button. If I open, say, three panes, then close the second and third with the close button, everything's fine, the first pane displays. But if I try to close that last remaining pane I am not returned to the menu; rather, it seems that the last pane is cleared (the display is blank except for the title bar) and the TabbedUI essentially freezes. No other pane can be opened. I need to refresh the browser to get the TabbedUI back.

    If I run the TabbedUI in "Live Preview" and try closing the last pane then a javascript error box is displayed with the message in the title (actually, it should be "undefined", not "blank", my error). Am I not setting something correctly in the TabbedUI properties? Has anyone else run into this issue?

    Thanks in advance.

    BTW, I've created a test (very) simple project: One TabbedUI (mobile) and one UX. Start in Live Preview, click the button to open the component in a new pane, then click the close "X"; the same error message is displayed. A ZIP of the test project is attached: DropDownTest.zip
    Last edited by nlk10010; 10-15-2016, 02:23 PM.

    #2
    Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

    Tabbed UI's are not very mobile friendly. You say this is a mobile app - but the issue also happens in Live Preview? Does it happen when you open it in a regular browser window also?

    What device are you trying this on?

    Comment


      #3
      Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

      i just checked my site on an iPad, the tabbed ui displays alright ( may be not good in smaller devices, also i use different mechanism for my mobile site, not relevant here) i am not sure how you did without a home page. with home page you will not be able to close that. so you will end up left sided menu and the home page to see.
      login/logout works well too with tabbed ui on iPad.
      thanks for reading

      gandhi

      version 11 3381 - 4096
      mysql backend
      http://www.alphawebprogramming.blogspot.com
      [email protected]
      Skype:[email protected]
      1 914 924 5171

      Comment


        #4
        Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

        Originally posted by lgrupido View Post
        Tabbed UI's are not very mobile friendly. You say this is a mobile app - but the issue also happens in Live Preview? Does it happen when you open it in a regular browser window also?

        What device are you trying this on?
        Larry: I've tested it on iPad and Chrome and FireFox desktop browsers. The behavior is that if you try to close the only pane open the app does not go back to the menu, the pane remains open but with a blank screen. If you click "Menu" to go back to the menu and try to open any pane (including the one you tried to close) you are returned to the blank pane. Nothing opens. You need to refresh the browser to get it going again.

        I only tried Live Preview to debug it, that's the message that is displayed.

        Comment


          #5
          Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

          Originally posted by GGandhi View Post
          i just checked my site on an iPad, the tabbed ui displays alright ( may be not good in smaller devices, also i use different mechanism for my mobile site, not relevant here) i am not sure how you did without a home page. with home page you will not be able to close that. so you will end up left sided menu and the home page to see.
          login/logout works well too with tabbed ui on iPad.
          Gandhi: I attached a sample app, that should demonstrate the problem. I don't want a Home Page because its much easier for my client to see the buttons when first opening the app, he doesn't want to have to see a Home Page THEN click a button to see the buttons then click the button he wants. I expected that, when I close the last pane, the app would return to the Menu. Home Page is not in play so I never try to close that, just the last pane.

          Comment


            #6
            Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

            I'm not able to test your sample app at the moment, but I'll give it a try later today. Perhaps a video showing the issue would help? I'm still not sure I entirely understand what is happening without seeing it.

            Comment


              #7
              Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

              Larry:

              I understand, I'll see if I can do that. It is also simple to explain: Create a TabbedUI with the Mobile option, no home page and one component (makes no difference what it does). Then just place a single button on the TabbedUI which displays that component in a pane. Make sure the pane has the "Has Close Button" option checked. Run the TabbedUI, click the button that displays the component in the pane, then try to close the pane with the Close button. The TabbedUI does NOT return to the menu, the pane just blanks out. If you click Menu and then try clicking the button again you'll just get the blank pane.

              Comment


                #8
                Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

                OK. I created a mobile TabbedUI and did as you suggest. I too get the offset error. However, if I say to continue running javascript actions, everything DOES continue to work for me.

                I would submit this (with your sample app) as a bug to Alpha to see what they have to say.

                Comment


                  #9
                  Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

                  Originally posted by lgrupido View Post
                  OK. I created a mobile TabbedUI and did as you suggest. I too get the offset error. However, if I say to continue running javascript actions, everything DOES continue to work for me.

                  I would submit this (with your sample app) as a bug to Alpha to see what they have to say.
                  Larry: Thanks for making the effort; are you saying that after you "continue running javascript actions" the pane is actually closed and the menu is displayed? I don't think I went past the error dialog when I ran it in Live Preview, but I know for certain that whether on a tablet or in a desktop browser, the pane is NOT closed.

                  Comment


                    #10
                    Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

                    sorry, i cannot test the tabbedui with dialog, since it was made with version 12, however here is something for you to try and i will explain at the end as to why.
                    i constructed the tabbedui and the dialog as you described and i also checked that the tab pane can close. now go to the dialog since there is only one go all the way to the bottom and and see tab pane javascript open that and look for an event onRemove, in that add this code
                    tbiObj,_showMenu(true);
                    and test again see if it works.
                    i don't think there is a bug. you have called to close the ux but did not call the menu to show. this is not like one leading to other and when the last one dropped off the previous item bubble up.
                    since there is only one component that is just easy.
                    if there were many components and all have close button then this action should only be active in the last tab pane if that is what you want or just leave it to bring out the menu. there is length property available if i have time i can test that theory for you.

                    edit:
                    http://screencast.com/t/L8bFBuYjX
                    Last edited by GGandhi; 10-19-2016, 05:23 PM.
                    thanks for reading

                    gandhi

                    version 11 3381 - 4096
                    mysql backend
                    http://www.alphawebprogramming.blogspot.com
                    [email protected]
                    Skype:[email protected]
                    1 914 924 5171

                    Comment


                      #11
                      Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

                      Originally posted by GGandhi View Post
                      -snip-
                      i don't think there is a bug. you have called to close the ux but did not call the menu to show. this is not like one leading to other and when the last one dropped off the previous item bubble up.
                      since there is only one component that is just easy.
                      if there were many components and all have close button then this action should only be active in the last tab pane if that is what you want or just leave it to bring out the menu. there is length property available if i have time i can test that theory for you.
                      Gandhi: I appreciate you trying to help but I don't agree with your statement that this is "logical" behavior. When I attempt to close the last pane I am NOT logically asking to close the entire component; to conclude that you would also be saying that the TabbedUI could not be open unless at least one pane was open, but when you start the TabbedUI it displays the Menu and NO panes. Further, even if I were asking to close the TabbedUI then......the TabbedUI should close, not blank the last pane and refuse to open any components until you refresh.

                      What I have done to get around this is, using the "new" TabbedUI JS functions and the before close Tab event, prevent Pane 0 from closing. That seems to be working, if occasionally confusing to the client. :)

                      Comment


                        #12
                        Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

                        the close button action only calls for the tab pane to close then there is empty tabbed ui component with nothing to show, i just added to call the open menu also. that is the way i think it should work.
                        but you say you fixed it, then it is well and good.

                        after all said and done, you should be happy and your client should be happy, that is important.
                        thanks for reading

                        gandhi

                        version 11 3381 - 4096
                        mysql backend
                        http://www.alphawebprogramming.blogspot.com
                        [email protected]
                        Skype:[email protected]
                        1 914 924 5171

                        Comment


                          #13
                          Re: "Unable to get property offset left of a blank or null reference." in Mobile TabbedUI

                          I agree, thanks again for posting your solution. I will look at it again; if it's a "better mousetrap" then I may change my code to use that approach.

                          Comment

                          Working...
                          X