iconeo Posted July 8, 2015 Posted July 8, 2015 Is there any lisp out there that when scaling mtext with columns, resizes the columns appropriately? My googling skills failed me... Thanks. Quote
BIGAL Posted July 8, 2015 Posted July 8, 2015 You could set the column width using some method of working out mtext line lengths (setq colwidth 30) ; do something here to work out line length (setq objtable (vla-addtable vgms sp numrows numcolumns rowheight colwidth)) ........ (vla-setcolumnwidth objtable 0 colval) ; 0 is first column colval is the width of the columns under the heading (vla-setcolumnwidth objtable 1 30) ; 2nd column (vla-setcolumnwidth objtable 2 60) ; 3rd column Quote
iconeo Posted July 8, 2015 Author Posted July 8, 2015 You could set the column width using some method of working out mtext line lengths (setq colwidth 30) ; do something here to work out line length (setq objtable (vla-addtable vgms sp numrows numcolumns rowheight colwidth)) ........ (vla-setcolumnwidth objtable 0 colval) ; 0 is first column colval is the width of the columns under the heading (vla-setcolumnwidth objtable 1 30) ; 2nd column (vla-setcolumnwidth objtable 2 60) ; 3rd column Thanks BIGAL, I'll give it a whirl. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.