Overblog
Suivre ce blog
Editer l'article Administration Créer mon blog
21 mars 2012 3 21 /03 /mars /2012 18:38

This is another version of the Handle Image Java Bean. Is is based on the 3rd Bean version, with the following new features:

 

1. SETTOOLTIP() method to attach a tooltip to the Image Item


2. New Drag and Drop feature that allows the end user to drop an image file directly to the Image component.

 

An event is sent back to Forms to tell that the end user has changed the image content:

 

DECLARE 
    eventName varchar2(30) := :system.custom_item_event;
    eventValues ParamList;
    eventValueType number;
    p1  varchar2(256);
BEGIN
   eventValues := get_parameter_list(:system.custom_item_event_parameters);
  
   IF (eventName='IMAGE_DROPPED') THEN  
      get_parameter_attr(eventValues,'IMAGE_NAME',eventValueType, p1);
      Message('Image dropped:' || p1,no_acknowledge);      
   END IF;
END;


 

Get the new handleimage4.zip file


Partager cet article

Published by Oracle Forms community - dans Bean - general
commenter cet article

commentaires

wael 29/04/2016 15:35

although i signed all the jars again but still gives me that error
java.lang.SecurityException: class "oracle.forms.fd.FileDrop$Listener"'s signer information does not match signer information of other classes in the same package

ken 11/05/2012 09:46


I definitely appreciated every little bit of it and I've you bookmarked to look at new things you post.