Home > database >  The original concept data window that has been recorded in the color of the interlayer
The original concept data window that has been recorded in the color of the interlayer

Time:10-04


To display the data to achieve the above effect, the first thing we should know is that these forms should be reflected in what parts of the data window object, apparently, all the data in the data window is listed in Detail (in Detail), so as long as the object in Detail with set Column (Column) of an attribute will affect its display effect, specific implementation is as follows:

Open the window, select all the columns (Column),

Turn to the Font TAB in the Properties window, click the Background Color attribute with a red icon next to the small button,

In the column of Expression Expression input:

If (currentrow ()=getrow (), RGB (255240194), the if (mod (getrow (), 2)=1, & amp; RGB (255254249), RGB (247247239)))

Note: RGB (255240194) in the expression of light yellow, RGB (255254249) as the light white, RGB (247247239) is a light yellow,


Why I can't, which eldest brother can help me with a nasty, online waiting for

CodePudding user response:

If (mod (getrow (), 3)=0, RGB (255240194), the if (mod (getrow (), 3)=1, RGB (255254249), RGB (247247239)))

CodePudding user response:

Inside the color of directly in detail with
If (mod (getrow (), 2)=1, RGB (255254249), the RGB ((247247239))

CodePudding user response:

Interlaced display

CodePudding user response:

Don't use currentrow, use getrow line, according to change of the building Lord

CodePudding user response:

If (getrow ()=CurrentRow (), RGB (197216243), the if (getrow ()/2=int (getrow ()/2), RGB (218243219), RGB (231248231)))

CodePudding user response:

If (currentrow ()=getrow (), RGB (255240194), the if (mod (getrow (), 2)=1, & amp; RGB (255254249), RGB (247247239)))


Yes ah, remove & amp;

CodePudding user response:

Yes ah, the three colors, even lines of different colors, the current lines of different colors, but it's better in rowfocuschanged event setredraw (true), to the current line color display correctly, the brothers but a cruel lesson... :)
  • Related