|
Backround Color
|
|||
---|---|---|---|
#18+
Podskajite pojaluista kak pomeniat' Backround color per row. w_reports.dw_1.object.flt_16.background.color = RGB(l_red, l_green, l_blue) - meniaet vse records w_reports.dw_1.object.flt_16[row].background.color = RGB(l_red, l_green, l_blue) - daet oshibku Sparibo zaranee za pomosch' ... |
|||
:
Нравится:
Не нравится:
|
|||
06.02.2009, 18:49 |
|
Backround Color
|
|||
---|---|---|---|
#18+
dw_1.modify('....color="536870912~tif(mod(getrow(),2) >0, rgb(255,255,255),rgb(243,243,243))"') ... |
|||
:
Нравится:
Не нравится:
|
|||
06.02.2009, 18:54 |
|
Backround Color
|
|||
---|---|---|---|
#18+
Светлана, Пол уже ответил, но на всякий случай: во первых, дот нотейшн при неправильном синтаксе, потеряной колонке и т.д. выбрасывает угрожаюшие мэссаги и закрывает аппликацию, поэтому рекомендую использовать modify() с проверкой: /* Return value Returns the empty string ("") if it succeeds and an error message if an error occurs. The error message takes the form "Line n Column n incorrect syntax". The character columns are counted from the beginning of the compiled text of modstring. If any argument's value is NULL, in PowerBuilder and JavaScript the method returns NULL. */ во вторых: file->new->tool->datawindowsyntax->ok->syntax->modify->object: datawindow ... |
|||
:
Нравится:
Не нравится:
|
|||
12.02.2009, 23:00 |
|
|
start [/forum/topic.php?fid=15&fpage=36&tid=1336391]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
41ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
44ms |
get tp. blocked users: |
2ms |
others: | 11ms |
total: | 144ms |
0 / 0 |