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

Jim Coltz Calendar

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

    #16
    Fantastic! like usual. Excellent stuff.

    Comment


      #17
      Originally posted by peteconway View Post
      Working on a fully dynamic - xbasic free build, just the Viewbox and SQL and templates, all management configurable client-side on the way in - just thought I'd share, their will be some JavaScript but at this time there is none. So if you have a wish list now the time to let me know if you are interested, decided to build my own as I can have unlimited view and developer can just add what they want - and no List control or Grid involved - flies along. Tiny 250k published UX. Slots are easily defined, per user, per entity etc. I'm also adding to my Hybrid User Management Console. - nothing but Vb's.

      I remember going to see Cat Stevens at a concert and he said he loved the Beatles music but he struggled to play it - so he wrote his own songs - nothing to learn.. Sounds good to me,
      Pete

      https://www.screencast.com/t/7gEoF8YECJ

      ps. I loved Jim's Calendar and him, wonderful man and product, but need Mobile interaction - good work Jim, thanks, served me well.

      Pete
      Very nice Pete ... as always
      Alpha Anywhere v12.4.6.5.2 Build 8867-5691 IIS v10.0 on Windows Server 2019 Std in Hyper-V

      Comment


        #18
        Thanks - Pete
        Insanity: doing the same thing over and over again and expecting different results.
        Albert Einstein, (attributed)
        US (German-born) physicist (1879 - 1955)

        Comment


          #19
          Having fun
          https://www.screencast.com/t/Z73vft6Fw
          Last edited by peteconway; 09-20-2022, 12:43 AM.
          Insanity: doing the same thing over and over again and expecting different results.
          Albert Einstein, (attributed)
          US (German-born) physicist (1879 - 1955)

          Comment


            #20
            Really fast..
            https://www.screencast.com/t/Z73vft6Fw
            Insanity: doing the same thing over and over again and expecting different results.
            Albert Einstein, (attributed)
            US (German-born) physicist (1879 - 1955)

            Comment


              #21
              If you wan​'t xbasic to interpret a state variable as something other than a char (C) type and another then try this.


              debug(1)
              function setArgumentValueAsC as c (e as p)
              dim argumentName as c = e._state.argumentName
              dim argumentValue as N = convert_type(e._state.argumentValue,"C")
              e.arguments.set(argumentName,argumentValue)
              end function​
              function setArgumentValueAsN as c (e as p)
              dim argumentName as c = e._state.argumentName
              dim argumentValue as N = convert_type(e._state.argumentValue,"N")
              e.arguments.set(argumentName,argumentValue)
              end function
              function setArgumentValueAsL as c (e as p)
              debug(1)
              dim argumentNameL as c = e._state.argumentName
              dim argumentValue as L = convert_type(e._state.argumentValue,"L")
              e.arguments.set(argumentName,argumentValue)
              end function
              function setArgumentValueAsD as c (e as p)
              debug(1)
              dim argumentName as c = e._state.argumentName
              dim argumentValue as D = convert_type(e._state.argumentValue,"D")
              e.arguments.set(argumentName,argumentValue)
              end function
              function setArgumentValueAsT as c (e as p)
              debug(1)
              dim argumentName as c = e._state.argumentName
              dim argumentValue as T = convert_type(e._state.argumentValue,"T")
              e.arguments.set(argumentName,argumentValue)
              end function

              or dynmic
              function setArgumentValueAsD as c (e as p)
              debug(1)
              dim argumentName as c = e._state.argumentName
              dim argumentValue as e._state.typeValue = convert_type(e._state.argumentValue, e._state.typeValue)
              e.arguments.set(argumentName,argumentValue)
              end function​

              where typeValue = C or N or L or D or T

              etc.​


              ​​​​​​​Pete
              Insanity: doing the same thing over and over again and expecting different results.
              Albert Einstein, (attributed)
              US (German-born) physicist (1879 - 1955)

              Comment


                #22
                thanks pete, are you saying you found a work around to jims calendar or are you commenting in another context? Seems like it's the way AA is setting the state vars that is now causing the issues
                NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                Comment


                  #23
                  I just recall somewhere - someone pointed to the change in state vars - maybe be the issue, If it is - this could be a remedy. I'm writing my own calendar control in the Viewbox, I'm no longer actively using Jims.

                  Cheers
                  Pete


                  correction on the dynamic set argument


                  client-side

                  {dialog.object}.stateInfo['argumentName'] = 'Argument name to set' ;
                  {dialog.object}.stateInfo['argumentValue'] = 'Value of the Argument' ;
                  {dialog.object}.stateInfo['argumentType'] = 'N' // C or N or L or D or T etc.

                  {dialog.object}.runAction('setArgumentValue'); calls the function.​


                  server-side

                  function setArgumentValue as c (e as p)
                  debug(1)
                  dim argumentName as c = e._state.argumentName
                  dim argumentValue as e._state.argumentType = convert_type(e._state.argumentValue, e._state.argumentType)
                  e.arguments.set(argumentName,argumentValue)
                  end function​

                  Last edited by peteconway; 10-02-2022, 05:56 PM.
                  Insanity: doing the same thing over and over again and expecting different results.
                  Albert Einstein, (attributed)
                  US (German-born) physicist (1879 - 1955)

                  Comment


                    #24
                    For those interested the fix for the deletes from the UX in my calendar follows:

                    You will need to edit your jqcal_datafeed.a5w page to look like this:

                    Code:
                    <%a5
                    'this page is used to handle the data requests from the calendar
                    'all vars not dimmed on this page passed in from calendar
                    ''updated 10/27/2022 to fix issue with AA no longer putting state variables where they belong.
                    if eval_valid("request.variables") then 'look for the request object from the POST
                        dim r as p = request
                        '_debug(1)
                        if variable_exists("r.Variables._state.table")= .f. then
                            if variable_exists("r.Variables._stateInfoJSON")then
                                r.Variables._state = json_parse(r.Variables._stateInfoJson)
                            end if
                        end if
                        ?jqcal_response(r)
                    else
                        ?"Error, request variable not available"
                    end if
                    %>​
                    Note that the latest version of AA 8368_5659, which is what this fix is based on, adds a <!DOCTYPE html> to the top of the page when you open it in the editor (go figure). This needs to be removed for it work.
                    The added code is checking for the r.Variables._state.table variable that used to be there before AA decided to mess up the handling of state variables when using a url with their ajax callback or if using jQuery's ajax callback (which is what I used in my calendar code). If the variable is missing we then look for the new r.Variables._stateInfoJson variable and if we find it we parse it back into the r.Variables._state variable where it belongs. I tested this in the base 4.541 Jqcalendar app as well as in my own application and this seems to have fixed the problem.

                    Again, just make sure you remove any extra stuff that AA wants to automatically insert into your page. And don't forget to publish the edited page.
                    Jim Coltz
                    Alpha Custom Database Solutions, LLC
                    A5CustomSolutions.com
                    [email protected]

                    Comment


                      #25
                      Hi Jim - thanks that's awesome - I'm going to keep working on my viewbox build as it suits tablet and mobile controls in AA - I decided not to go beyond build 8099 as I don't really need anything else.
                      Pete
                      Insanity: doing the same thing over and over again and expecting different results.
                      Albert Einstein, (attributed)
                      US (German-born) physicist (1879 - 1955)

                      Comment


                        #26
                        I knew Jim would come through because well he's basically awesome...anyways - Pete, definitely keep on working on what your doing, seems like your on the right path. I am sure AA made code changes in the best interest of their product I don't fault them for it - in fact I find it pretty sweet that Jim was able to dive in and correct it so that what he built can still work effectively! Good job Jim!
                        NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

                        Comment


                          #27
                          Cheers
                          Insanity: doing the same thing over and over again and expecting different results.
                          Albert Einstein, (attributed)
                          US (German-born) physicist (1879 - 1955)

                          Comment


                            #28
                            The fix doesn't seem to work for me and causes a fault when loading the calendar data:

                            JQCalDatafeed.jpg


                            I did remove the <!DOCTYPE html> as suggested. I am on build 8245-5650 not build 8368-5659 which Jim is using. Is the fix build specific?

                            Thanks
                            Alpha Anywhere v12.4.6.5.2 Build 8867-5691 IIS v10.0 on Windows Server 2019 Std in Hyper-V

                            Comment


                              #29
                              The error indicates that something "non-whitespace character" is being returned by the jqcal_datafeed.a5w page. If you remove my new code does the error go away? This shouldn't be build specific, shouldn't being the key word. I've tested this in build 8000, which is what I was sticking with as that build did not have the problem.

                              If you capture what is returned in the POST command (using debug tools in the browser) you can run that through one of the online JSON validators and see where the issue is. In particular, look for something at the end, which in your case, from the screen shot of the message, is an extra ? mark. Check your page for the extra character
                              Last edited by Jim Coltz; 10-28-2022, 12:45 PM.
                              Jim Coltz
                              Alpha Custom Database Solutions, LLC
                              A5CustomSolutions.com
                              [email protected]

                              Comment


                                #30
                                Ah, my fault ... I had a '?' at the end of the code. Working now, thanks Jim!
                                Alpha Anywhere v12.4.6.5.2 Build 8867-5691 IIS v10.0 on Windows Server 2019 Std in Hyper-V

                                Comment

                                Working...
                                X