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

Row color properties w. xbasic?

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

    #31
    Re: Row color properties w. xbasic?

    Here is the combination of Tim's and a variation of what G illustrated with the right click menu (changes the text for the entire row instead of a single column of a row).


    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


      #32
      Re: Row color properties w. xbasic?

      Originally posted by Keith Hubert View Post

      OK. You got me beat, how have you split the last column into the three colours?
      I have just added three buttons. Each button returns/triggeres an event that is passed into the function in browse->events->events. I used the corresponding colour name as the event name. The value of 'event' is written to the browse column object value.

      I like Gabe's idea of a right click menu. I think it would give the browse a cleaner presentation. Maybe a narrow column that displays the colour. Having the rows varying colours I find hard to read.
      Tim Kiebert
      Eagle Creek Citrus
      A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

      Comment


        #33
        Re: Row color properties w. xbasic?

        Originally posted by Keith Hubert View Post
        Also, apart from changing the colour of the text on the browse, did your code set a field value to enable conditional colour printing?
        Keith:
        Are you deliberately ignoring what I say? I thought maybe I misunderstood the question. Obviously not. You just ignored my last post!

        There is NOTHING in the video that I didn't already mention in that post.

        Comment


          #34
          Re: Row color properties w. xbasic?

          Tim,

          I have been looking at this with V10 beta and there seems to be a problem as the buttons and code are not visible.

          See attached, this is from V8. The buttons in red boxes are not visible in V10 beta. I shall report it as a bug.

          Gabe,

          I never ignore what you say, we are just a bit on the slow side over here.
          Regards
          Keith Hubert
          Alpha Guild Member
          London.
          KHDB Management Systems
          Skype = keith.hubert


          For your day-to-day Needs, you Need an Alpha Database!

          Comment


            #35
            Re: Row color properties w. xbasic?

            Keith,

            I was away from my computer yesterday so I didn't get a chance to respond. Looks like others have given you some options but I have attached a sample of one that uses a look up like you first requested and also a right hand menu as you seemed interested in Gabes solution. They both use Peter and Tim's idea of the colour equation, in fact I just cut and pasted from Tim's example and replaced his field name for mine.

            Hope it helps.

            Geoff

            Comment


              #36
              Re: Row color properties w. xbasic?

              The buttons in red boxes are not visible in V10 beta. I shall report it as a bug.
              Not a bug. Tim has just set a background colour rather than use a bitmap.

              Comment


                #37
                Re: Row color properties w. xbasic?

                Alright, let's think about this logically:
                1-If you need to print the same colors you see in the browse in a report, this means you have to save them (or some flag) in the table
                2-To save a flag in the table, I suggested a one character-field
                3-If you have a one-character field, then you do not need a right-click a left click or any click or anything for that matter.
                4-All you need is a lookup where the user could choose one of these options, then
                5-In the browse properties, use the conditional expression to change the font, or background or whatever it is you would like to change based on the value in that field.
                6-In the report, you make the font also based on the value in that field.

                No code is needed, no clicks no buttons, nothing.

                Comment


                  #38
                  Re: Row color properties w. xbasic?

                  FWIW:

                  Geoff,
                  Quote:
                  The buttons in red boxes are not visible in V10 beta. I shall report it as a bug.
                  Not a bug. Tim has just set a background colour rather than use a bitmap.
                  Keith cannot see the buttons in the preview of Edit Display in design mode OR even any buttons at all in design mode---in his v9-v10 amended version.

                  G,
                  No code is needed, no clicks no buttons, nothing.
                  Simplistic is fine but not when it will not do as requested---Keith needs a way to change the color as well--if hard coded then I would agree with the above.

                  Peter,
                  Now you have to choose a method---nice when so many here show various ways to do something isn't it!
                  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


                    #39
                    Re: Row color properties w. xbasic?

                    This is simple basic bread & butter. In the Browse Properties you set the font color as an expression based on the field value.
                    No wonder Keith ignores me. I feel like I am speaking Gibberish. It's all there, just open the browse properties, column, then set the font with an expression.

                    Comment


                      #40
                      Re: Row color properties w. xbasic?

                      The buttons in red boxes are not visible in V10 beta. I shall report it as a bug.
                      Not a bug. Tim has just set a background colour rather than use a bitmap.
                      Cheers Mike. I missed the bit that stated the pic was from V8.

                      G, I guess when Keith gets a chance he can let us know the method that best worked for him.

                      Comment


                        #41
                        Re: Row color properties w. xbasic?

                        I don't know what other methods were suggested. I haven't opened any of the zip files. This seemed from the beginning as basic stuff. In fact, my initial instinct was to do my favorite thing: unsubscribe from a thread to stop all the emails. But when a vet like Keith asks the question, you would think there is more to it and when you find that there is no more to it and state that this is basic stuff, what else, you get ignored!
                        So, don't look for anything I suggested to be implemented, but it might help somebody else or give others ideas of alternative ways of doing things.

                        I have been coloring text in browses since Moses! not sure what the issue is?

                        Comment


                          #42
                          Re: Row color properties w. xbasic?

                          Like this..

                          Comment


                            #43
                            Re: Row color properties w. xbasic?

                            Hi Gabe,

                            You are not being ignored, so please dont start to get a complex about it.

                            Your video is as always very interesting, but it would be of far more value if you would post the sample application instead.

                            To see the trick the magician has performed is all very well, on the forum we are more interested in how it was done.
                            Regards
                            Keith Hubert
                            Alpha Guild Member
                            London.
                            KHDB Management Systems
                            Skype = keith.hubert


                            For your day-to-day Needs, you Need an Alpha Database!

                            Comment


                              #44
                              Re: Row color properties w. xbasic?

                              Keith:
                              I already said it, twice... maybe there is some justification for my "complex".
                              OK, one more time:
                              1-Add one more field to your table to hold whatever status you want: Very important, important...etc
                              2-Use a simple lookup (or if you want to get fancy with images and color etc, you could create your own lookup menu) with the desired choices.
                              3-In the design mode of Browse (or form with embedded browse), right-click the browse, highlight the desired column, go to the "Other" tab, check the box "color Equation", use the expression to say:
                              case(fieldx="very Important", "red on white", fieldx=Important", "green on white....etc)

                              And that's all there is to it.

                              Comment


                                #45
                                Re: Row color properties w. xbasic?

                                Interesting thread - and the only one apparently; too bad all the links are gone.
                                Robin

                                Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                                Comment

                                Working...
                                X