PDA

View Full Version : multiline problem in descrption column



Anonymous
09-16-2002, 08:52 AM
i try to change only th <string-field> by <multiline-field> and the text complete isn't show in the line is cut in the middle and the function od multiline dont work .
i dont know i should do. please give me an example to use multiline function.

thanks..

Anonymous
09-16-2002, 02:40 PM
Hi,

there is no difference between multiline and string field anymore. The fields dimensions are static, so you have to define the maximum height that is to be used for this field, and if the text does not fully fill up the field, the space that is left is left empty.

So try to increase the number of lines (the height of the field) available in your textfield. The minimum height can be calculated using the formula:

height = fontsize * NoOfLines

So having a element with a font with size 10 and 2 lines to be displayed must have a height of at least 20 to display the 2 lines.

Have more fun,
said Thomas