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