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!

Button Label

Moazam ShareefMay 13 2009 — edited May 16 2009
Hi guyz,

I have a puch button on my form called 'PB_ADD'

i have three triggers on this button.

1) when-button-pressed
 create_record; 
2) when-mouse-enter
 
DECLARE
IT_ID ITEM;
BEGIN
IT_ID :=FIND_ITEM('SYSTEM_USER.PB_ADD'); 
SET_ITEM_PROPERTY(IT_ID, ITEM_SIZE, 56, 52);
SET_ITEM_PROPERTY(IT_ID,VISUAL_ATTRIBUTE,'FX_PB_IN');
SET_ITEM_PROPERTY(IT_ID,ICON_NAME,'ico\database_add');
END;
3) when-mouse-leave
DECLARE
IT_ID ITEM;
BEGIN
IT_ID :=FIND_ITEM('SYSTEM_USER.PB_ADD'); 
SET_ITEM_PROPERTY(IT_ID, ITEM_SIZE, 37, 37);
SET_ITEM_PROPERTY(IT_ID,VISUAL_ATTRIBUTE,'FX_PB_OUT');
SET_ITEM_PROPERTY(IT_ID,ICON_NAME,'');
SET_ITEM_PROPERTY(IT_ID,LABEL,'Add Record');
END;
which trigger should i use to set the label of a push button when i call to this form, every thing is working fine i set functional in button property iconi set to Yes but im not able to get label on button how can i get this?

any help apprecite.

Regards
This post has been answered by 598585 on May 13 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2009
Added on May 13 2009
11 comments
6,321 views