KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to get the best column width in 4D View
PRODUCT: 4D View | VERSION: 2003.1 | PLATFORM: Mac & Win
Published On: September 4, 2003
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

The best column width is the smallest width that will still display the longest text in either a cell or the column header.

To obtain the best column width manually, requires you to double-click the column header or select the column and choose STYLE -> COLUMN -> AUTOMATIC WIDTH.

To do this procedurally, use the PV EXECUTE command like this:

PV EXECUTE COMMAND (area;pv cmd style column auto width )