Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating code to a method in run-time
Message
From
28/04/2000 03:55:56
 
 
To
27/04/2000 21:23:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00364288
Message ID:
00364363
Views:
17
Claudio,

What I do in this cases, is to create a grid with no column in it.
Then in run-time I add the columns based on classes defined in a .prg



>Hi, buddies!
>
>I have a great doubt here:
>
>I'm creating a class based in a form, and into this form will be a Grid control. When an user click in a header of that grid, I need to run a code. This grid will be populated only in run-time, with the content of a table. Well, in interactive design, I never know how many columns I'll have in my grid. So, how can I write a code to a header that does not exist? How my code can be generic in this case?
>
>Thanks in Advance
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform