Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the height of a Text Item Box in run time

Status
Not open for further replies.

PatrickB101

Programmer
Oct 4, 2001
22
US
Is there away to change the text item box height in runtime?
If it is possible to do this based on how many character are in that exact same text box? The box will contain records and I want the box to adjust automaticly depending the number of character in that record. On Another note I am also trying to make the update "number of records display" property of a block update in real time. Is there a salution to these problems? If this is sorry I am very new with Oracle Developer. I have screen shots of the program if that would help.

 
To set the height of a text item (presuming you are talking Forms here) is

Set_Item_Property('block.item_name',HEIGHT,x);

where x is the height in pixels/points, depending on the coordination units you are using.

How to work out the number of characters? Length:)block.item_name) should do it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top