| stop color change of a button [message #407991] |
Fri, 12 June 2009 14:40  |
nastyjillu
Messages: 211 Registered: February 2009
|
Senior Member |
|
|
hi,
i have a block. and number of records displayed for that block is 2.
now if i make any change in any item of record 1 and navidate to record 2 then all the items should change their color to cyan.
its doing so. iam fine till now.
but problom is. there are 2 buttons on that block. they are also getting change in the color. i dont want that.
i want only fields to change color not the button.
in what trigger the code might be which is changing color of all these items?? how should i stop color change for buttons??
i could not find any code which changes color of these fields.
there might be some pll. but in which trigger should i write code??
thanks
jillu
|
|
|
|
|
|
| Re: stop color change of a button [message #408002 is a reply to message #407992] |
Fri, 12 June 2009 18:17  |
nastyjillu
Messages: 211 Registered: February 2009
|
Senior Member |
|
|
i got it.
i wrote below code in post-record at form level after the procedure which was changing color to cyan.
display_item('blk.BUT1','PUSH_BUT');
display_item('blk.BUT2','PUSH_BUT');
PUSH_BUT is visual attribute
|
|
|
|