Version 1.6.6 comes with the following
changes:
- The LAF_XP_TextArea PJC can
display some HTML content:

Set the multi-line Text Item Implementation Class to
oracle.forms.fd.LAF_XP_TextArea, then prepare it to
display HTML content:
Set_Custom_Property( 'bl.item', 1,
'SET_HTML_CONTENT'
, 'true,true,true' );
Once the Text Item is prepared to display HTML content, you can
assign the value:
:bl.item := '<html><body>
... </body></html>' ;
You can also assign an URL that points to the HTML text:
:bl.item := 'http://....../doc.html'
;
So that you can store only the link in your database column, and
the user displays the whole content by looping through the
records.
If the user is allowed to modify the HTML content,
you can get the modified result with the following:
value := Get_Custom_Property(
'bl.item', 1, 'GET_HTML_CONTENT' ) ;
Editing is quite
simple as you can add/remove texts and perform the following
formatting on the selected text:
- bold (ctrl+b)
- italic (ctrl+i)
- underline (ctrl+u)
- left alignment (ctrl+l)
- center alignment (ctrl+c)
- right alignment (ctrl+r)
- font familly and size (ctrl+f)
- font color (ctrl+o)
Test the
/fmb/test_laf_html_textitem.fmb sample dialog.
See the LAF_XP_TextArea PJC documentation,
particularly the HTML Content properties.
- Un-selected background color
of TABs on TAB canvas can, now be colored.

Set_Custom_Property( 'CTRL.BEAN', 1, 'SET_TAB_COLORS',
'r105g52b23,r210g106b50' ) ;
See the old version new
features.
|