Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tricks are for Grids (homage to Drew Speedie)
Message
From
14/06/2021 04:05:07
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/06/2021 19:01:32
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
01681164
Message ID:
01681188
Views:
52
>>>woops i misspoke...
>>>I have a grid which i set the HeaderHeight property to 40 and the Header Wordwrap property to true. It looks perfect at design time time but goes fubar at runtime. My first thought was that the grid was being destroyed somehow and reconstructing, but i keep disabusing my self of that notion. I don't seem to be able to work it out. Some light in the darkness would be greatly appreciated.
>>
>>And what would happen if you set the hederheight in the init of the grid ?
>
>walter thanks for replying. I get the same result.

If .columnClass and .columnClasLib (or whatever the exact names may be) are set, the instance code may fire _after_ everything is instantiated, and the column class's .init() may fire even though it may be overridden in the instance or in the grid's code. These two heavily disturb the regular order of code when instantiating the columns (and probably same for pages), so yup, more tricks in the grids.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform