FrançaisEnglishEspañol
PC SOFTForums homeLast messagesOnline repository
PC SOFT
Find...
Perform the searchSearch in...
Newsgroup dedicated to WINDEV (current version), in English
Horizontal Table
Nov., 22nd 2009 at 04:15 PM
John Marrone
<gu...st@news.pcsoft.fr>

Message 1/7
Horizontal Table

Hi All
I just created my first horizontal table. I want the columns to be as wide as the widest data item the column contains. This should be automatic you would think. I can find no place to set the width of a column either. And when I re size the column at run time, the columns to the right start disappearing. Has anybody dealt with this and could you please help me. Thanks for any time and effort given to me.


Nov., 23rd 2009 at 07:24 AM
Piet van Zanten
<gu...st@news.pcsoft.fr>

Message 2/7
Re: Horizontal Table

Hi John,
Bend your head 90 degrees to the left. You need to set the row height if you want the column width. This is set in the table style tab. If you need to set the width of the first column, you need the height of the table header. And so on...
Regards,
Piet


Nov., 23rd 2009 at 07:25 AM
John Marrone
<gu...st@news.pcsoft.fr>

Message 3/7
Re: Horizontal Table

Piet
I got nothing from your post. I need to set the row height to get the column width. Man draw me a picture. I change the row height in the style GUI panel. It makes e row that height but that does not help me with the width of a column.It has nothing to do with the width. There is a row and font selection that has a width property and it makes all the columns the same width. But even doing this at run time I lose the last 4 records.
I still need help with this. I know there has to be a way. Somebody has had to create a parallel table. I just can not figure this one out. There has to be a way to set the column width. And not lose some records at the end of the table. Thanks for any help.


Nov., 23rd 2009 at 07:25 AM
David Egan
<gu...st@news.pcsoft.fr>

Message 4/7
Re: Horizontal Table

John
Piet is right but it's not overly intuitive. Probably the easiest way to do it is to use the mouse when you are designing the table. To adjust the width of the column put your mouse at the right hand side of the first colum (the highlighted one) and when the cursor changes you can drag the width to whatever you want (which in a horizontal table is effectively the height of a standard vertical table). This will change the width of all the columns in your horizontal table.
David


Nov., 23rd 2009 at 11:14 AM
Piet van Zanten
<gu...st@news.pcsoft.fr>

Message 5/7
Re: Horizontal Table

Hi John,
I was not trying to make you do any gymnastics ;-)
I meant to say that to understand the way a horizontal table works, you need to think of it as a 90 degrees flipped and mirrored normal table. So if you need to change the width of a column you think of the way you would change the height of a normal table. This can be very confusing:
To change the width of (all) columns you change the the tables row font and height element on the style tab, but it's property is called width.
Regards,
Piet


Nov., 23rd 2009 at 11:14 AM
John Marrone
<gu...st@news.pcsoft.fr>

Message 6/7
Re: Horizontal Table

Hi David
Thanks but I got that down. My problem is that I lose all the records after about the 4th record. If I make the column thinner I get back a record to the right side. At dev time I have a thin dashed line going down the table and at run time if any record goes past this line it disappears. I then have blank records from that point on to the right. But I can not grab this dashed line to drag it to the right which I think would let more records display. For some reason I can only get 3 records to display even thought there are a lot of blank records to the right. If I make the records that are showing thinner a record will appear on the right. If I make the columns thin enough I can get 2 more records to display. It's as if there is a fixed area for the records and I can not go beyond that area. Like right now I have 3 records showing. If I make the record columns thinner I can get a 4th record to appear. And if I make the record columns really thin I can get a 5th record to ap
pear. Has anybody ever had this happen and if so did you find the fix. Thanks for any help that I might get.


Nov., 23rd 2009 at 03:21 PM
John Marrone
<gu...st@news.pcsoft.fr>

Message 7/7
Re: Horizontal Table

Hi David and Piet
I got the records to display. But I have to make the tables height set to 1400 which puts the bottom of the table clear off the screen and about to my knee. But I can now have about 10 records showing anyway. This will not work. This can not be right. It just can't be. You should not have to make the tables height so large that it is clear off the screen just to be able to have 10 records going the width of the screen. Something is wrong in Denmark. I sure hope I get this figured out. Thanks for any more help anyone can give me and many thanks to Piet and David for there time and effort.