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 the font size and style on run time

Tarek FathyFeb 9 2006 — edited Feb 9 2006
dear all
i try to change the font style and font size on runtime. I did the following:
1- i created an item(:font_size) in which i will write the size of the font for the the other item ('customer_name')
2 on the post_change trigger for 'font_size' i write this code
SET_ITEM_PROPERTY('customer_name',FONT_size,(:font_size);
i write 12 then then font size changed , then i write 18 , the size does not change. and when i write any value , no change happens. I do not know why

the second problem is how to change the font style
i made three checkbooks (bold,italic,underline)
on the trugger when_checkbox_checked i write
IF :BOLD = 'B' THEN
SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'BOLD');
ELSE
SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'REGULAR');
END IF;
no change happend at all.
please help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2006
Added on Feb 9 2006
2 comments
1,568 views