Put Icon Button
533652Dec 1 2006 — edited Dec 4 2006Hi, I need to put an icon in my buttons, I'm doing the 2 following steps:
1) I'm creating a TEXT-ITEM from the Desig-Editor and I put in its TYPE-TYPE=Custom, after and the DISPLAY-TYPE I put as BUTTON. All is ok, but I need to put to this button an icon, but I don't find how to do it.
I put in EDIT-GENERATOR-PREFERENCES of the button, in the IMGIFT property the path of the icon, but anything.
2) After I tried to do it using whit CREATE-ACTION-ITEM, CUSTOM and next.... All ok, but I get the same problem, I cann't put the icon.
I've tried to do using the following source, when the form instance:
-------------------------
SET_ITEM_PROPERTY('BUTTON_NAME',ICON_NAME,'C:\directory\icon.ico');
------------------------
Can you help me?
Thanks.