LAF_XP_PopList.java - public properties

 

These properties can be set or read from any list item whose Implementation Class property is set to:

oracle.forms.fd.LAF_XP_PopList

 

 

 

 

 

GET_MAX_ROWS

GET_TIME_KEY_SELECT

SET_ENHANCED

SET_ENHANCED_ALL

SET_MAX_ROWS

SET_TIME_KEY_SELECT

SET_DEBUG

 

 

 

  1. GET_MAX_ROWS

Returns the maximum number of rows displayed in the list.

property value:

number := Get_Custom_Property( '…', 1, 'GET_MAX_ROWS' ) ;


 

  1. GET_TIME_KEY_SELECT


Returns the amount of milliseconds allowed to enter more than one character

property value:

number := Get_Custom_Property( '…', 1, 'GET_TIME_KEY_SELECT' ) ;

 

 

  1. SET_ENHANCED

Set/unset the enhanced (Swing) poplist

property value : true | false.


Set the value to false to get the native Forms poplist widget.

Set it to true to overload the native Forms poplist with a Swing list widget.

Set_Custom_Property( '…', 1, 'SET_ENHANCED', 'true' ) ;

 

 

 

  1. SET_ENHANCED_ALL

Idem as SET_ENHANCED but for every poplist of the current module.

 

 

  1. SET_MAX_ROWS


Set the maximum number of rows visible in the list when deployed.

property value:

Any integer greater than 0

 

Without indication, the poplist is created with a default value of : 6

 


Set_Custom_Property( '…', 1, 'SET_MAX_ROWS', '10' ) ;

 

 

  1. SET_TIME_KEY_SELECT


Set the number of milliseconds allowed to enter more then one character to pre-select the list value

By default, when you hit a key, the list display the first occurrence found that starts with the letter entered.

With a low value, the end user won’t have the possibility to pre-select for instance the value “abdominal” by hitting abc on the keyboard. The list will display the first value that starts with the letter c.

 

With a higher level, the list value is pre-selected with the concatenation of the several keys hit in the corresponding laps of time. So with a value of 5000, the end user has 5 seconds to concatenate the 3 keys hit then he can pre-selects the value “abdominal” by hitting abc.

 

 

property value:

Any integer greater than 0

 

Without indication, the poplist is created with a default value of : 100

 


Set_Custom_Property( '…', 1, 'SET_TIME_KEY_SELECT', '3000' ) ;

 

 

  1. SET_DEBUG

Turn ON/OFF the debug messages.

By default  the all logs are OFF.

Allowed values are : ‘true’ or ‘false’.

Set_Custom_Property( '…', 1, 'SET_DEBUG', 'true' ) ;