Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5389
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: bColorCondition - once again |
| Date | Thu, 20 Jun 2013 12:29:13 +0200 |
| Lines | 38 |
| Message-ID | <b2g3skF89j4U1@mid.individual.net> (permalink) |
| References | <07c4f917-9247-4618-9478-35f33a7757f1@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net AHzh4/kkNH94CJ8z65VJWQewfaLYeB8tPXtSSnYJuY6wlAu83r |
| Cancel-Lock | sha1:wyXMe29FlAFR5OW6o7iP9k/541Y= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-EsetId | 35EFE320EBB6393466ABB8 |
| X-EsetScannerBuild | 14112 |
| Xref | csiph.com comp.lang.clipper.visual-objects:5389 |
Show key headers only | View raw
Hi Krystian,
Show us a little bit more code.... (Geoff would say (g))
In your fragment I miss the lines:
oBrowser:ColorCondition:Add(oColorCondition)
oBrowser:Refresh()
are they there?
regards
Urs
"Krystian" <softb@softb.pl> schrieb im Newsbeitrag
news:07c4f917-9247-4618-9478-35f33a7757f1@googlegroups.com...
> Hallo,
>
> I fight with the bbrowser and colors for separate cells.
> There is a database with personal data and two fields for each day of
> month.
> In one field is stored the kind of day ("black" or "red"; not shown in the
> bb) and in the second a user should type a data.
> I would like to distinguish the cells with different colors depends on the
> kind of the day. People (in rows) have different combinations of red and
> black days.
> How should i write the color condition ?
> I tried many versions but i still look for ...
> for dd := 1 to 31
> ....
> cfld := 'RD_'+mmdd (mm - month, dd - day : RD_0620) field for kind of the
> day
> ccond := "Server:FieldGet("+cfld+") = 'R'"
> ocolor := bColorCondition(ccond, srv, ...
> or
> ocolor := bCC(&("{|Server|"+ccond+"}"), srv ,,,
>
> Thank you for any suggestion
> Krystian
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
bColorCondition - once again Krystian <softb@softb.pl> - 2013-06-19 16:03 -0700
Re: bColorCondition - once again "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2013-06-20 12:29 +0200
Re: bColorCondition - once again Krystian <softb@softb.pl> - 2013-06-20 15:15 -0700
Re: bColorCondition - once again "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2013-06-24 12:11 +0200
Re: bColorCondition - once again D.J.W. van Kooten <public@ic2remove.this.com> - 2013-06-21 16:54 +0200
csiph-web