Home » Developer & Programmer » Forms » Multi-Line Button Labels in Forms 6i (Oracle Forms 6i)
Multi-Line Button Labels in Forms 6i [message #332170] Mon, 07 July 2008 14:16 Go to next message
dgmarchant
Messages: 2
Registered: July 2008
Junior Member
I have a button that needs to have 2 words on it "Lube Additions", but there is not quite enough horizontal space for a button that long. I do have the vertical space on the form to make the button taller and not as long if I can put one word above the other.

Is it possible to create a multi-line button label in Forms 6i?

I tried adding a return to the Label property in the Property Palette for the button. I also tried using

set_item_property('block.button_name', LABEL, 'Lube'|| chr(10) ||'Additions');


but that didn't work either. I got both words, but on just one line with a dark vertical mark between the words.

Any ideas?

Thanks,
Dan
Re: Multi-Line Button Labels in Forms 6i [message #332180 is a reply to message #332170] Mon, 07 July 2008 14:51 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Concatenation of strings with CHR(10) works in Forms 9i and above.

In 6i, you might create an icon which would show text in several lines and attach this icon to the button. Or, alternatively, use Javabean.
Re: Multi-Line Button Labels in Forms 6i [message #332182 is a reply to message #332180] Mon, 07 July 2008 14:56 Go to previous message
dgmarchant
Messages: 2
Registered: July 2008
Junior Member
I figured as much. Thanks anyway, LittleFoot.
Previous Topic: how to increase tabular rows
Next Topic: Dynamic SET_ITEM_PROPERTY?
Goto Forum:
  


Current Time: Sat Dec 10 15:06:28 CST 2016

Total time taken to generate the page: 0.14444 seconds