
These properties can be set or read from any Command
button whose Implementation Class property is set to:
oracle.forms.fd.LAF_XP_Button

Set the current image of the button.
property value:
full_image_name[,image_position]
full_image_name can be one of the following:
· image read from the jar file : /image.gif
· image read from the client machine : c:/image.jpg
·
image read from an internet
url: http://…
image_position can be one of the following:
·
LT Left Top
·
CT Center Top
·
RT Right Top
·
LM Left Middle
·
CM Center Middle
·
RM Right Middle
·
LB Left Bottom
·
CB Center Bottom
·
RB Right Bottom
-- set an image stored in
the jar file at Left Middle position --
Set_Custom_Property( '…', 1, 'SET_IMAGE', '/del.gif,RM' ) ;
Set the image when the mouse exits the button
property value:
See SET_IMAGE
Set the image when the mouse enters the button
property value:
See SET_IMAGE
To set the new image position
position can be one of the following:
·
LT Left Top
·
CT Center Top
·
RT Right Top
·
LM Left Middle
·
CM Center Middle
·
RM Right Middle
·
LB Left Bottom
·
CB Center Bottom
·
RB Right Bottom
-- set image to Center Middle position --
Set_Custom_Property( '…', 1, 'SET_IMAGE_POSITION', 'CM' ) ;
To set the character used to split
the label into multiple lines
The default character is | (alt+124)
You can enforce multi-line button’s label by adding this separator in the label
property.
e.g.: Label|split on|three lines
Set_Custom_Property( '…', 1,
'SET_SEPARATOR', '^' ) ;
To set the color used for the
label’s shadow
The default color is white
Set_Custom_Property( '…', 1,
'SET_SHADOW_COLOR', '200,200,200' ) ;
To set the text’s position in the
button
Available values are:
·
Left
·
Center
·
Right
Set_Custom_Property( '…', 1,
'SET_TEXT_POSITION', 'right' ) ;
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' ) ;