Edit table blank line (OpenInsight 32-bit Specific)
At 23 AUG 2005 10:42:30PM Richard Hunt wrote:
Version 7.1.1
My edit tables always have a blank line at the bottom. They did not have this blank line at version 4.1.3
So is there a way to not have a blank line at the bottom. A blank line does not have a row number. Also, I resize the edit table to fit all lines with row numbers.
At 24 AUG 2005 05:55AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Richard,
Can't say I've seen this before. Is this every edit table - even the ones in table builder? No difference if you change any table or column properties?
Can you post a screen shot?
World leaders in all things RevSoft
At 24 AUG 2005 12:42PM Richard Hunt wrote:
I am not sure how to display images here, so I will give the address to the two images.
Image 1 www.lvla.com\junk\pict1.gif shows normal display one line item filled with a total of 10 line items in the edit table and all 10 line items in view.
Image 2 www.lvla.com\junk\pict2.gif shows the same information after I have simply used the "down arrow" key to move down. See how there is now a vertical scroll bar and visible blank space below line 10.
Never had this occur before I upgraded.
At 24 AUG 2005 01:11PM [email protected]'s Don Bakke wrote:
Richard,
Do you have this problem when you are running Windows Classic them? What happens if you resize the edittable (either higher or shorter) by a few pixels?
At 24 AUG 2005 01:40PM Richard Hunt wrote:
Thanks all…
Once I added one pixel to the vertical size of the edit table then all is ok. I swear I tried it before!!!
Well… thanks, sometimes I just need a second opinion.
At 21 JUN 2006 09:22PM Prashant Mittal wrote:
Richard,
Can you please post the code to achieve that. We are also having the same issue.
Thanks
Prashant
At 22 JUN 2006 12:47PM Richard Hunt wrote:
I shall try. I am not sure if your problem is similar to my problem.
See, what I do is to set the edit table to show only so many lines, like 10, unless the window is maximized. So I then resize the edit table to show only those 10 lines. I also have to determine if the vertical and horizontal scroll bars are displayed or required.
What I found out was my problem was going from Windows 2000 to Windows XP to Windows 2003. So what I did was to adjust my border calculation of the edit table based on the operating system.
If this does not help you let me know.
* Get border sizes.
OS_VERSION=GET_PROPERTY('SYSTEM','VERSION')
BORDER_WIDTH=(GETSYSTEMMETRICS(45) + GETSYSTEMMETRICS(83)) * 2
BORDER_HEIGHT=(GETSYSTEMMETRICS(46) + GETSYSTEMMETRICS(84)) * 2
BEGIN CASE
CASE OS_VERSION EQ '5.0'BORDER_WIDTH=GETSYSTEMMETRICS(45)BORDER_HEIGHT=GETSYSTEMMETRICS(46)CASE OS_VERSION EQ '5.1'BORDER_WIDTH=(GETSYSTEMMETRICS(45) + GETSYSTEMMETRICS(83)) * 2BORDER_HEIGHT=(GETSYSTEMMETRICS(46) + GETSYSTEMMETRICS(84)) * 2CASE OS_VERSION EQ '5.2'BORDER_WIDTH=GETSYSTEMMETRICS(83) * 2BORDER_HEIGHT=GETSYSTEMMETRICS(84) * 2CASE OTHERWISE$BORDER_WIDTH=GETSYSTEMMETRICS(45)BORDER_HEIGHT=GETSYSTEMMETRICS(46)END CASE