Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column ControlSource && DynamicBackColor Assign
Message
From
13/02/2002 08:00:41
 
 
To
13/02/2002 07:27:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00619330
Message ID:
00619378
Views:
18
>>
>>the rest of the code is fine, it's just the addition of 86 columns and the deletion of the 'old' 86 columns, preserving all the properties of the 'old' columns, like ColumnOrder, and the like
>>
>
>Greg,
>For 86 columns even doing it like that shouldn't take 2.5 secs. However you can significantly cut down the time if you used one single line of code to set columncount instead of individually deleting old columns (as I undertand you're doing something like removeobject).
>If this is not a must at runtime you could save load time by doing that in designtime too.
>Cetin

Cetin,

I hear what you say, ie This.ColumnCount = xxx
However, setting the columnCount that way will also make them 'standard' columns. and I need my Column Class

With respect to changing the things at design time, I can say that I did such things when I was learning vfp. Now, I write code in the Init if the grid, which then calls the classInit(). The classinit() handles most of the stuff.

Thanks
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform