Current version: 1.6.8

Features

  • Display enhanced LOVs with the Look & Feel decoration

  • Display enhanced Alert Boxes with more than 3 options

  • Handle menus at runtime (add, enable, disable, show, hide, remove options)

  • Handle frames at runtime (add, move, modify, hide)

  • Play pre-loaded sounds

  • Receive external asynchronous messages

  • Draw texts anywhere on the screen

  • Display input dialogue boxes

  • JColorChooser
    All features list


Version 1.6.8 comes with the following changes:

 - The DrawLAF Java Bean can start external commands, then get the result.

It allows the developer to start external commands, then after get the result or the error.

A new method has been added to the DrawLAF Java Bean : SET_EXT_PROG.

Result text or error message is transmitted to the bean through new Custom Item Event added to the DrawLAF When-Custom-Item-Event trigger.
The event name is EXT_MSGSTND for a correct result or EXT_MSGERROR for an error message. The text itself is transmitted line by line and asynchronously via the EXT_MSGTEXT event:

   -------------------------------
   --  External command events  --
   -------------------------------          
   ElsIF (eventName='EXT_MSGSTND') THEN
      -- get the standard output --
      eventValues := get_parameter_list(:system.custom_item_event_parameters);
      get_parameter_attr(eventValues,'EXT_MSGTEXT'
             ,eventValueType, LC$param);
   ELSIF (eventName='EXT_MSGERROR') THEN
      -- get the component properties --    
      eventValues := get_parameter_list(:system.custom_item_event_parameters);
      get_parameter_attr(eventValues,'EXT_MSGTEXT'
             ,eventValueType, LC$param);
   END IF;

The screenshot, here, present a "DIR" MS/DOS command to show the files located on the local machine, but you could also display a short text file with the TYPE command, or get an environment variable with the SET command: "cmd /c set username", for instance.

If you intend to pass a space (blank) in one of the arguments, pass it into double-quotes:

Set_Custom_Property('BL.BEAN', 1, 'SET_EXT_PROG', 'cmd,/c,findstr
  ,"width height",d:\oracle9i\forms90\server\formsweb.cfg' ) ;

The LAF_BEAN's When-Custom-Item-Event trigger has been updated in the laf.olb Object Library, so think to get it from the zip file.

         Test the new /fmb/test_laf_host.fmb sample dialog.

  See the Draw_LAF Java Bean properties documentation, particularly the External Command properties.




See the old version new features.

Oracle Forms Look and Feel Project created by Francois Degrelle