Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4271
| From | "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Calendar control using bbrowser and brushes with multiple colors |
| Date | 2012-10-12 13:10 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <k58trv$7e8$1@dont-email.me> (permalink) |
| References | <k50me9$lel$1@dont-email.me> <50742473$0$3113$ba620e4c@news.skynet.be> |
Hi Paul, yes, there are enough possible colors. But the users do not always see the differences. With the own drawn bitmaps it is much easier to see an overlay of a green and an orange state for example putting both colors into the bitmap as a type of grid. The user sees immediately that these two states interfere. Arne "Paul D B" <polleke@NOMORESPAMhnt.be> schrieb im Newsbeitrag news:50742473$0$3113$ba620e4c@news.skynet.be... > > Hi Arne, sorry I don't follow you here. Using the color class you got > 255x255x255= 16,8 million colors. > ( x 2 because you can play with background and foreground combinations) > > Paul > > "Arne Ortlinghaus" schreef in bericht news:k50me9$lel$1@dont-email.me... > > > There are many possible states, for example allowed day of visit but with > possible conflicts because of other open visits. So I had not enough > colors. > It is so the first time that I used some bitmap images (8 to 8) with two > different colors e.g. green and orange or green and white. > The VO brush object has the nice undocumented feature that you can use a > bitmap object instead of a color to get the backgrounds as in the attached > image. > obrush := CreateInstance(#brush, CreateInstance(#bmpbrushgreenorange)) >
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
Calendar control using bbrowser and brushes with multiple colors "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2012-10-09 10:15 +0200
Re: Calendar control using bbrowser and brushes with multiple colors "Paul D B" <polleke@NOMORESPAMhnt.be> - 2012-10-09 15:19 +0200
Re: Calendar control using bbrowser and brushes with multiple colors "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2012-10-12 13:10 +0200
csiph-web