|
Version 1.6.4 comes with the following
changes:
- Dynamic popup menus that you can create at
runtime.
You can, now, add several popup menus that can be
displayed with a right-click on the canvas.

- New feature that allows the end-user to sort any based
table-block on any column by clicking the header.
This new
feature has been developed and proposed by Thanh H.
BUI, a new great contributor to the LAF Project
;-).
New CSS' entries have been added to let the developer
grant or not this feature to the user in the modules, and also a
new non-mandatory parameter in the Paint_Block() procedure to
overload the CSS setting for a particular
table-block.
Procedure
Paint_Block (
PC$Block IN
Varchar2, PC$BeanName IN
Varchar2, PC$VA_Name
IN Varchar2,
PC$HeadClass IN
Varchar2, PC$BodyClass IN
Varchar2, PC$TitleClass IN Varchar2
Default Null,
PC$Title IN Varchar2 Default
Null, PB$ScrollBar IN
Boolean Default True, PB$SortBlock IN
Boolean Default Null ) ;
A new event is raised through the
When-Custom-Item-Event to tell Forms to sort the table-block on a
new column:
DECLARE eventName
varchar2(30) := :system.custom_item_event;
eventValues ParamList; eventValueType
number; LC$proc
varchar2(10000); LC$param
varchar2(10000);
LC$Order
varchar2(1000);
LC$SortDesc varchar2(10);
LC$Col
varchar2(100); LC$BlockName
varchar2(100);
BEGIN
-------------------------------- -- Table_block
sorter events --
-------------------------------- IF
(eventName='IMG_HEADER_CLICKED') THEN
eventValues
:= get_parameter_list(:system.custom_item_event_parameters);
get_parameter_attr(eventValues,'IMG_HEADER_SORT_VALUE'
,eventValueType, LC$SortDesc);
get_parameter_attr(eventValues,'IMG_HEADER_SORT_COL'
,eventValueType, LC$Col);
get_parameter_attr(eventValues,'IMG_HEADER_BLOCK_NAME'
,eventValueType, LC$BlockName);
LC$Order := LC$Col || ' ' || LC$SortDesc;
SET_BLOCK_PROPERTY( LC$BlockName, ORDER_BY,
LC$Order);
GO_BLOCK(LC$BlockName);
Do_Key('EXECUTE_QUERY') ; END
IF; END;
The event name is
IMG_HEADER_CLICKED and the new column value is transmitted via the
IMG_HEADER_SORT_COL parameter.
- Bug correction on Window, Menus and Status bar appearance when
the application looses the focus.
When the focus is lost by
the window, the colors of the Window, Menus and Status bar remain
as they were defined through the LAF
- Bug correction on LAF LOVs
You can, now, have
special colors working to paint the LAF
LOV:
LR$LovRec.LOV_SCHEME := 'RGBbackground,RBGforeground'
;
e.g.: LR$LovRec.LOV_SCHEME :=
'r40g25b40,r200g75b200' ;
You have to compile the new laf.pll
PL/SQL library and the PKG_DB_LAF_LOV database package. Also think
to get the new laf.olb file.
See the Draw_LAF Java Bean properties documentation,
particularly the Dynamic Popup Menus.
See the old version new
features.
| |