From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-22-2006 04:00 PM
08-23-2006 02:55 AM
Please, look attached example
To make columns headers font to be bold: you use property ActiveCell with row value = -1 and change property Cell.Font.Style to bold
For auto-updating column width to most wide string in this column you have run over all strings in column, find most wide word, find its length and write it to property Cell.Size.Width
About cursors you haven't so possibility
To find some value in table you just run over all values in table to find if someone equal to string that you find, get it coordinates and so use property Active Cell and Cell.BGcolor
08-23-2006 09:28 AM
08-24-2006 02:44 AM
To find the length of the widest word (which is font and size dependent), a trick is to use the Get Text Rect.vi (in the Graphics & Sound > Picture Functions subpalette).
Nadav Chernin a écrit: "... For auto-updating column width to most wide string in this column you have run over all strings in column, find most wide word, find its length and write it to property Cell.Size.Width..."