Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling dynamic table and grid
Message
 
To
04/09/1999 19:57:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00261567
Message ID:
00262580
Views:
20
Hi,

In the Init of the grid you have to add those columns either by changing the ColumnCount property or by using AddObject() with a user defined column object that you have to define in code.

Christof

>Dear Christ, I've been going through most of your article in Foxpro Advisor and I find your style very interesting. Indeen you're 'The Foxpert'. I wonder if you can help me with this tiny challenge. I've been cracking my head but nothing came out.
>
>How do I build a cashbook layout in a grid, based on a table which I want it to be dynamic depending on a variable of account's codes. I would like the column in the grid to expand vertically based on the number of account codes in the table (which is a variable).
>
>The format is like this (which is like the one in a manual Cash Book):
>
>|---------------------------------------------------------------|
>|Bil |Date|Description|Amount|Acc.1|Acc.2|Acc.3|Acc.4|...|Acc.n*|
>|----|----|-----------|------|-----|-----|-----|-----|---|------|
>
>* where n is a variable.
>
>Tq.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform