Example Program Drafts

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically adjust table width

Introduction

This VI allows the user to input text. Normally, you would need to manually adjust the cell widths. However, with this VI, the cell widths are automatically adjusted based on the text rectangle and "fudge" factor.

FP.jpg

BD.jpg

Best regards,
Rohan B
Comments
Member GriffinRU
Member

I haven't had a chance to load vi itself, do not have 2010 at home yet.

But, it would work better if you calculate text rectangle also based on font type, size and style. And adjust cell width after entire row filled to maximum width, in case cell's data is wider than header.

Contributors