Images : keep the initial quality - phase IV
By francois degrelle on Friday, March 27 2015, 15:32 - PJC - Javabean - Permalink
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;