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

Slider - getValue - Invalid expression: convert_number(""%2Bconvert_type(0..100,"N")

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

    #16
    Re: Slider - getValue - Invalid expression: convert_number(""%2Bconvert_type(0..100,"

    At least you can still set it in one of your dialog client side actions.
    Originally posted by TheSmitchell View Post
    Words cannot describe how much I loathe sliders.
    amazing-cheddar-sliders-x-420x420.jpg
    mmmm.....sliders.....

    Comment


      #17
      Re: Slider - getValue - Invalid expression: convert_number(""%2Bconvert_type(0..100,"

      Looking at what you are using it for, you don't have many possibilities, so you might consider checkboxes, or do a range search like Baths From 2 To 4. That's what I did in a little MSL app I built, and no one has complained.
      Pat Bremkamp
      MindKicks Consulting

      Comment


        #18
        Re: Slider - getValue - Invalid expression: convert_number(""%2Bconvert_type(0..100,"

        Originally posted by Pat Bremkamp View Post
        Looking at what you are using it for, you don't have many possibilities, so you might consider checkboxes, or do a range search like Baths From 2 To 4. That's what I did in a little MSL app I built, and no one has complained.
        Suggesting as an alternative because of the error I got in my first post (solved)? Or suggesting because of personal preference?

        Checkboxes are no good --- there are 20 possible choices for baths. And a checkbox changes the nature of search: 2 or 4 baths.

        We replaced the range search text boxes with sliders. Which, in my opinion, are light-years ahead of text boxes as far as end-user experience. For example, the person entering the data doesn't need to know that there is, potentially, an upper and lower limit for choices. It's laid out for you right there. Besides, replacing 8 controls with 16 or more (plus all the validation code I'd need to add to make sure the "min" is actually less than the "max") makes for a really distracting interface.

        I don't have to like them to work with them. And if you can get past all the hair pulling, teeth gnashing, and face palming, sliders aren't all that bad. Better than trying to integrate jQuery sliders at least - if you're going to use them.

        By the by, I don't know if Alpha is going to update the videos or change the sliders to support Default Value for multi-value sliders. But they were going to address it.
        Alpha Anywhere latest pre-release

        Comment


          #19
          Re: Slider - getValue - Invalid expression: convert_number(""%2Bconvert_type(0..100,"

          They added some tips to the release notes for the new release they put out this morning:
          Tips



          Dialog Component - Slider Control - Two-value - Default Value - Say you have a slider control that you have configured as a two value control (showing say 0 to 100). Let's assume you want to set the initial state of the control to 30..70. You cannot do this by setting the Default Value property of the control. However, you can add some code to the onDialogInitialize server side event to emit Javascript that will set the slider's value.

          For example:



          dim js as c
          js = <<%txt%
          var s = {dialog.object}.getControl('MYSLIDER')
          s.setValue([30,70]);
          %txt%
          e.javascript = js

          Comment


            #20
            Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;

            Do they know there's a javascript syntax error in their example?
            Alpha Anywhere latest pre-release

            Comment


              #21
              Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;

              LOL, I see it now. This is your bag sarah, you can have the pleasure of emailing them....

              Comment


                #22
                Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;

                Originally posted by -Jinx- View Post
                LOL, I see it now. This is your bag sarah, you can have the pleasure of emailing them....
                I wash my hands of this catastrophe.
                Alpha Anywhere latest pre-release

                Comment


                  #23
                  Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;

                  Originally posted by TheSmitchell View Post
                  And if you can get past all the hair pulling
                  Be careful with that, mine never grew back...
                  Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

                  Comment


                    #24
                    Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;

                    Would someone running the very latest and greatest update try my attached grid (first post)? Pretty Please? I got a note back from Alpha that they fixed it. I am unsure as to the manner in which they fixed it. They either actually posted a fix in code, or the "fixed" is the note from last week that says "you cannot blah blah blah". They didn't update the videos, so I'm assuming it was actually changed. But I don't wanna go through the effort of installing updates, testing, and then rolling back if it actually isn't "fixed fixed".

                    Thanks!
                    ---
                    Sarah
                    Alpha Anywhere latest pre-release

                    Comment


                      #25
                      Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;

                      Anything for you Sarah.
                      I still had your "sliderWhat" component so I checked it out: Looks like it works now to me.

                      Proof and stuff: http://screencast.com/t/tZsN8oCOvD

                      Comment


                        #26
                        Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;

                        YaaaaaaaaaaaaaaaaaaaaaaaY!
                        Alpha Anywhere latest pre-release

                        Comment


                          #27
                          Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;N&quot;)

                          Anyone knows how to make slider has dynamic value? I am using a slider bounding database...i wanna min/max value based on my dababase field min/max value..no idea how to make it work... Thank you !!!

                          Comment


                            #28
                            Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;N&quot;)

                            I think you're looking to set {dialog.object}.getControl('SLIDERNAME').min and {dialog.object}.getControl('SLIDERNAME').max. You will need to trigger a refresh on the control. Maybe call {dialog.object}.setValue('SLIDERNAME',newmin + ".." + newmax) to do it?
                            Alpha Anywhere latest pre-release

                            Comment


                              #29
                              Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;N&quot;)

                              yes! that's the method! but it is a javascript method...i put onInitializeCompleted...it does change the range to 100..10000...However, i want to use database max and min value...how can i go find database value in JS event?

                              Comment


                                #30
                                Re: Slider - getValue - Invalid expression: convert_number(&quot;&quot;%2Bconvert_type(0..100,&quot;N&quot;)

                                In the dialog? Drop it in your onDialogInitialize server-side event instead. You can return javascript to execute from onDialogInitialize. EG:

                                Code:
                                dim dlg as c = "{dialog.object}"
                                dim js as c =<<%js%
                                var ele = {dlg}.getControl("SLIDERNAME");
                                
                                var min = {minVal};
                                var max = {maxVal};
                                
                                ele.min = min;
                                ele.max = max;
                                ele.setValue([min,max]);
                                ele.onSlide();
                                %js%
                                
                                dim minVal as n = 100
                                dim maxVal as n = 10000
                                
                                e.javascript = evaluate_string(js)
                                Here's a video, btw: http://www.ajaxvideotutorials.com/V1...logSlider3.swf
                                Alpha Anywhere latest pre-release

                                Comment

                                Working...
                                X