Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 10,193 of 10,840    |
|    Dean Earley to jppl2000@adelphia.net    |
|    Re: range and combination    |
|    24 Aug 06 11:28:24    |
      From: dean.earley@icode.co.uk              jppl2000@adelphia.net wrote:       > I have more than 3 different choices, ( ab, cd, ef, ghij, kl). They       > are also aphanumeric, (.01 ab, 6 cd, .50 ef, 8 ghij),etc. The numbers       > may range from .01 to 8.0. The letters will always remain the same. I       > would like to change the color of all the ab entries to a specific       > background color, regardless of the number range, and a different       > selected color for the other alpha entries. If this is possible,       > could I also obtain a sum total of all the numbers ony with the ab,       > then with the cd,and each of the alphanumeric sets? How to get       > started? Thanks.              First question, where are these being displayed?              You can use split to separate into lines then split again on each line       for the two parts.       Going through each line, you can check the textual part and total up the       relevant numerical parts.              At the same time, you can then set the colour, but how, depends on what       you are using to display it.              --       Dean Earley (dean.earley@icode.co.uk)       i-Catcher Development Team              iCode Systems              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca