Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid in .scx act different when defined in .prg
Message
From
26/10/1998 14:14:25
 
 
To
26/10/1998 13:42:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00150545
Message ID:
00150600
Views:
35
No custom classes or anything... but I did notice that the class browser's code had "ADD OBJECT text1 AS Text box" three times! Once for each column.

So I guess I 'must' use the class library approach, right?

Thanks

>Hi Larry ---
>
>The code created by the class browser is not really optimal. In some cases, it can't be run at all without major mods. Also, is it possible that you had some customized classes being used in the grid, like textboxes and the like, where the class definition is not being loaded or created? That could explain the Sparse problem.
>
>
>>I developed a grid (in the form designer) with certain features / properties that I need. It runs fine, everything acts as it should...
>>
>>I used the class browser to extract the code into a .prg.
>>
>>The grid created with the .prg acts different! It's MUCH slower and I have to add Sparse=.F. to all columns to get 'real' data to show on all rows...
>>
>>What gives?
>>
>>Any help is MUCH appreciated!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform