Overblog Suivre ce blog
Editer l'article Administration Créer mon blog


Free tool

Look and Feel Project

12 janvier 2012 4 12 /01 /janvier /2012 14:14

For the LAf developers that want to have transparent with no border buttons, I see that some people try to use the FunButton PJC (oracle.forms.fd.FunButton), that is not designed to do it. The FunButton has been created to render buttons that have a non-rectangular shape.

If you want to have a nice iconic button with no border and transparent background, set the Forms Push Button Implementation Class to : oracle.forms.fd.LAF_XP_Button, the use the following code:

  -- Transparent iconic EXIT button --
 Set_Custom_Property( 'LAF_BLOCK.PB1',1, 'SET_IMAGE', '/target-32.gif');
 Set_Custom_Property( 'LAF_BLOCK.PB1',1, 'SET_BACKGROUND_COLOR', 'null');
 Set_Custom_Property( 'LAF_BLOCK.PB1',1, 'SET_BORDER', 'false');



Partager cet article

Repost 0
Francois Degrelle - dans Oracle Forms
commenter cet article