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

Browse design question

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

    Browse design question

    In the help file it shows how to add a column called "Markup" to the AlphaSports product grid control on a web page. In the help file it is listed as "A simple Bar Chart".

    My question is... Can you add this column to the AlphaSports Desktop application product browse?

    I was able to get the base image in the column, but have tried several ways to get the image to resize based on the value of "Markup" with no success.

    The attached image is what I am looking for in a desktop browse.

    Thanks!
    Jim

    #2
    Re: Browse design question

    Evidently, this can not be done in the desktop browse!

    Comment


      #3
      Re: Browse design question

      Jim

      I think you can do what you want.

      Check out this link.

      http://support.alphasoftware.com/alp...se_Columns.htm

      Also, there is this info for Version 9 that is soon to be released.

      http://www.alphasoftware.com/VideoNe...namicIcons.swf

      I bet what you are looking for can be done with a little playing.

      Jeff


      - While the methods above are not doing what the web example is doing by using HTML - I think you could achieve nearly the same results with some experimentation.
      Last edited by jkletrovets; 03-18-2008, 05:07 PM. Reason: More Info

      Comment


        #4
        Re: Browse design question

        I made a quick and dirty sample that approximates what you are looking to do.

        Comment


          #5
          Re: Browse design question

          Thanks Jeff...
          I'll look into these as well as other options I have been working on.

          I have been able to get a bitmap into the column, but have not achieved the growth based on field value. It does not seem to want to grow!

          Jim

          Comment


            #6
            Re: Browse design question

            Originally posted by Jim Stanley View Post
            I have been able to get a bitmap into the column, but have not achieved the growth based on field value. It does not seem to want to grow!

            Jim
            Why would it grow? The bitmap is the bitmap.
            There can be only one.

            Comment


              #7
              Re: Browse design question

              Stan,

              I can not get the bitmap width to change based on the value in the markup field.

              All graphics end up the same width.

              bitmap_width=(Calc->markup) does not change the width

              If I get time later this evening I will post all of the code I have been trying.

              Thanks!
              Jim

              Comment


                #8
                Re: Browse design question

                Jim

                Each Bitmap would have to be designed to show the gowth. In otherwords you would have to make a picture file that would correspond with each markup growth.So if you had a picture file or Bitmap that showed 10 percent mark up, and another picture that showed 20 percent and so on. And if you wanted to show markup from 10% to 300% in 10% increments you would need 30 picture files or bitmaps to give you the chart you desire. Hope that explains it?

                Comment


                  #9
                  Re: Browse design question

                  I can design 10 bitmaps to reflect 10 different values (as in 10% increments) and conditionally show these in the markup field.

                  That is not what shows in the web application.

                  IF this is the only option I have in a desktop browse, then that is what I will use.

                  Thanks for all your help and suggestions.

                  I will keep working with this and If I come up with a solution I will post it.

                  Jim

                  Comment


                    #10
                    Re: Browse design question

                    Jim,

                    What you originally wanted apparently is very doable...I just created a numeric field of width 4, decimal 2 and called it "Size" and placed it on a form. Added a bitmap field to the form--used a5_color_red from the image Library...used "Stretch" for display mode. I then placed this on a button:

                    topparent:Bitmap1.Object.Width =topparent:size.value

                    I changed the "Size" field to whatever and the image would change in size whenever the button was pushed.

                    If this can be done I see no reason you cannot change the image size conditionally as wanted.


                    EDIT:: I also tried all the other display modes and each will grow--stretch does seem to work the best I think
                    Last edited by MikeC; 03-18-2008, 08:44 PM.
                    Mike
                    __________________________________________
                    It is only when we forget all our learning that we begin to know.
                    It's not what you look at that matters, it's what you see.
                    Henry David Thoreau
                    __________________________________________



                    Comment


                      #11
                      Re: Browse design question

                      Thanks Mike,

                      I did not think to set the bitmap to stretch mode. I will also try one of the Alpha bitmaps instead of my own. I thing my own may also be a problem.

                      Thanks again
                      Jim

                      Comment


                        #12
                        Re: Browse design question

                        Very cool solution Mike!!! Kudos!!

                        Comment


                          #13
                          Re: Browse design question

                          Hey Guys and Gals,

                          Sorry it's taken me so long to get back on this. Been busy with other pressing matters!

                          Check out this small test database I have been working on!

                          I am getting close to being able to show the progress bars (graphs) in a desktop browse as it you can in a Web App Grid.

                          2 problems I would like to resolve is...

                          1. I would like for the bars to represent 100% at about 1/3 of the way across the graphic. (and 200% at about 2.3 the way across)

                          2. I would like to round off the percent at the end of the graphic to 2 decimal points.

                          Anyway, check it out. Any help is greatly appreciated.

                          Thanks!
                          Jim

                          Comment


                            #14
                            Re: Browse design question

                            Jim,

                            In the button edit area enter in round(mark,2)....you cannot go into the expression builder as it wants a character expression--have not figured out how a numeric is working in this but it does. This solves one of the problems though.


                            EDIT: You are also going to have to trap when the markup goes below I think 5% as then your calcs being divided by 5 results in a less than 1 value and becomes a large number. Try it and see--should not be too hard to trap it and have your bitmap become 0 length when this happens
                            Mike
                            __________________________________________
                            It is only when we forget all our learning that we begin to know.
                            It's not what you look at that matters, it's what you see.
                            Henry David Thoreau
                            __________________________________________



                            Comment


                              #15
                              Re: Browse design question

                              Thanks Mike!

                              Like I said earlier, as I get older I need all the help I can get!

                              Thanks again, I appreciate it.

                              Jim

                              Comment

                              Working...
                              X