Home > database >  PB with code sets the background color of the data form a line one column
PB with code sets the background color of the data form a line one column

Time:10-18

In PB form button to write code to change the background color of the data form a line one column, line can be expressed in numerical, columns can take to the column name, o master, how can set the background color, like this assignment statements dw_list. SetItem (ll_row, "result", ls_error),

CodePudding user response:

In the background color value written expression

If (getrow ()=4, RGB (255, 0, 0), RGB (0, 0, 0)) to implement the

If you want to achieve by using setitem, need to add a pseudo column in data window, the background color of the expression for the pseudo column, and then using setitem assignment

CodePudding user response:

Try the Modify ()
Dw_cust. Modify (" salary. Color='0 ~ tIf (salary> 90000255652 80), '")

CodePudding user response:

Dw_1. Modify (" DataWindow. Detail. Color='1000 ~ tif (lj_code=~ "01 ~", RGB (200200500), RGB (192192192))' ")

CodePudding user response:

The above has been said,
Poverty is not language, level is not flow,

CodePudding user response:

The original poster is to achieve the following results?


CodePudding user response:

reference 5 floor FrankLiang reply:
the landlord wants to achieve the following effects?
how to achieve this?
  • Related