10-23-2007 05:29 AM
10-23-2007 06:00 AM
10-23-2007 06:06 AM
To my knowledge, there is no automatic solution to adapt the column width to the cell contents.
You can change programmatically the column width using the active cell/cell size property node.
Finding the right width is another story, since it depends on the font used. There is a graphic function in the Picture palette that get the size of a string : Get Text Rect. You could use it in combination with the cell size PN, assuming that you don't use fancy text attributes.
10-23-2007 07:04 AM - edited 10-23-2007 07:04 AM
Message Edité par chilly charly le 10-23-2007 02:05 PM
10-23-2007 07:16 AM
10-23-2007 07:31 AM - edited 10-23-2007 07:31 AM
OK. Here are the modifications. BTW, it was not necessary to wire the For loop N input. Rube Golberd code ?
Enjoy.
Message Edité par chilly charly le 10-23-2007 02:36 PM
10-23-2007 07:49 AM
10-24-2007 08:01 AM
CC,
Is the Active Cell/Ccell Size property available only from LV 8.0 upwards? I didnt fid it in 7.1.
10-24-2007 08:05 AM
Both properties were already available in LV 6. Get new glasses ! :D:D:D
parthabe a écrit: Is the Active Cell/Ccell Size property available only from LV 8.0 upwards? I didnt fid it in 7.1.
10-24-2007 08:29 AM