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

Search

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');

 

Francois


Partager cet article
Repost0

commentaires