Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to change background color of multilevel textbox in oracle form 6i

521431Dec 6 2006 — edited Dec 8 2006
hi
How To Change background Color of the Text.

In One Multilevel Block 10 Record is Display At a Time in a Text Box (Name is AMTt)
This Text Box display , Buffer and Record Length is 10
In Case Of Amount is Less 500 then Text Color Is Red(Or Any) and In Case Amount Is More 500 Then Color is Green (Or Any).

Me Use This Code in PRE_RECORD EVENT
TCMTL is Block name
TCMTL_AMT is Text Box Name

if :TCMTL.TCMTL_AMT >5000 then
g_fun.msgbox('Values is more');
Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b100');
else
g_fun.msgbox('Values is Less');
Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b10');
end if;

but This Code Is Refer Only 10th Value and change color depend on value.

so
possible to Different color in One Block Text Box Then how?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2007
Added on Dec 6 2006
10 comments
2,843 views