Lately, I have been developing a financial data presentation and reporting program.
I have found the %lv table display very useful, using view = 1. (not sure how to use onter view values)
I know it is early days in my understanding of %lv, but I am finding the use of width and height a bit unfriendly as inputs.
I now include the pixel width in all column headings for a more predictable layout. For width, I am adjusting “width” to be sum( column_pixel_width) + 50 (fudge), which is working ok.
I do think there should be a fit_width option available, as this width value is a bit cumbersome. Fudge is also an unknown !
For height, I use 'height = min ( max_height, n_row*16+20 )', but an automatic option to fit the height could also help ?
Early days, but any other views ?
John
PS: %lv appears to be a good table display option for variable length fonts.
With a 'fit_width' option available, perhaps width and height could be interpreted as max_width and max_height, as the seamless transfer to horizontal and vertical scrolling works very well for larger data displays.
Could the actual width and height be returned ? although I am not yet experienced with changing table sizes (does this happen?) or editing data.
I also find the use of '%lv[grid_lines,full_row_select]&' works well when returning selected row(s) in array 'SEL'.
I hope to advance to edit cells at a later stage, which may change my suggestions !