Home » Developer & Programmer » Forms » How to make selected text bold in text item using oracle form 6i (Windows 7, Oracle Form 6i)
How to make selected text bold in text item using oracle form 6i [message #607261] Tue, 04 February 2014 05:07 Go to next message
dark_prince
Messages: 98
Registered: June 2013
Location: India
Member
Hii,
Is there any way by which i can make selected text within the text item, bold or make underline, italic using oracle form 6i
like Hii whats up
Re: How to make selected text bold in text item using oracle form 6i [message #607266 is a reply to message #607261] Tue, 04 February 2014 05:38 Go to previous messageGo to next message
Littlefoot
Messages: 19326
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As far as can tell, Forms can't do that using its built-in capabilities. However, if you include some Java code, perhaps (but I wouldn't know how to do that).
Re: How to make selected text bold in text item using oracle form 6i [message #607270 is a reply to message #607266] Tue, 04 February 2014 07:38 Go to previous messageGo to next message
dark_prince
Messages: 98
Registered: June 2013
Location: India
Member
Thanks guess I will have to use java beans instead..
Re: How to make selected text bold in text item using oracle form 6i [message #607291 is a reply to message #607270] Tue, 04 February 2014 12:04 Go to previous messageGo to next message
mughals_king
Messages: 351
Registered: January 2012
Location: pakistan
Senior Member
have you solved your problem otherwise you can handle this easily by using visual attributes in forms 6i should i send you .FMB file if need.

Examlpe
set_item_property(:system.cursor_item,
                           VISUAL_ATTRIBUTE,
                           'BOLD');


set_item_property(:system.cursor_item,
                           VISUAL_ATTRIBUTE,
                           'ITALIC');


Regard
Mughal

[Updated on: Tue, 04 February 2014 12:05]

Report message to a moderator

Re: How to make selected text bold in text item using oracle form 6i [message #607292 is a reply to message #607291] Tue, 04 February 2014 12:27 Go to previous messageGo to next message
dark_prince
Messages: 98
Registered: June 2013
Location: India
Member
Hii I tried but its not working...
Re: How to make selected text bold in text item using oracle form 6i [message #607294 is a reply to message #607292] Tue, 04 February 2014 14:08 Go to previous messageGo to next message
mughals_king
Messages: 351
Registered: January 2012
Location: pakistan
Senior Member
No No my dear brother Razz you have to do lots of work, have you created VISUAL_ATTRIBUTES
Take Fmb file its working 100%



Regard
Mughal
Re: How to make selected text bold in text item using oracle form 6i [message #607295 is a reply to message #607294] Tue, 04 February 2014 14:09 Go to previous messageGo to next message
mughals_king
Messages: 351
Registered: January 2012
Location: pakistan
Senior Member
Screen shot for those who have not installed DBA & DEV.

Re: How to make selected text bold in text item using oracle form 6i [message #607298 is a reply to message #607295] Tue, 04 February 2014 15:03 Go to previous messageGo to next message
mughals_king
Messages: 351
Registered: January 2012
Location: pakistan
Senior Member
i think i forgot to define "UNDERLINE" Visual_Attribute here is a FMB file
with "Underline", "BOLD", "PLAIN", "ITALIC" Attribute.



Regard
Mughal
Cool
Re: How to make selected text bold in text item using oracle form 6i [message #607299 is a reply to message #607298] Tue, 04 February 2014 15:05 Go to previous messageGo to next message
mughals_king
Messages: 351
Registered: January 2012
Location: pakistan
Senior Member
screen shot
Re: How to make selected text bold in text item using oracle form 6i [message #607333 is a reply to message #607299] Wed, 05 February 2014 00:10 Go to previous messageGo to next message
Littlefoot
Messages: 19326
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Right; visual attributes. They do help if you want to set the whole item's contents bold or italic or whatever attribute you created, but - how does that solve the requirement, which says this:

Hii whats up

i.e. modifying part of item's contents?

[Updated on: Wed, 05 February 2014 00:10]

Report message to a moderator

Re: How to make selected text bold in text item using oracle form 6i [message #607336 is a reply to message #607299] Wed, 05 February 2014 00:31 Go to previous message
dark_prince
Messages: 98
Registered: June 2013
Location: India
Member
Hii thanks for your help..but thats not what i meant...
If comment is the text item and in that text item i write
:- "Hi how are you, I am fine". So from this text I want make some text in bold and italic. like
:- "Hi how are you, I am fine".

I don't want to make complete text item bold, or italic, I just want to make certain part of it..If thats possible then please tell me
Previous Topic: frm-41003 this function cannot be performed here
Next Topic: How Oracle9i Form Builder interact with Html waebpage??
Goto Forum:
  


Current Time: Tue Jul 29 12:31:46 CDT 2014

Total time taken to generate the page: 0.19546 seconds