Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5389

Re: bColorCondition - once again

From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bColorCondition - once again
Date 2013-06-20 12:29 +0200
Message-ID <b2g3skF89j4U1@mid.individual.net> (permalink)
References <07c4f917-9247-4618-9478-35f33a7757f1@googlegroups.com>

Show all headers | 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


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