Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behaviour in grid (VFP6)
Message
From
09/05/2002 10:43:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Strange behaviour in grid (VFP6)
Miscellaneous
Thread ID:
00654473
Message ID:
00654473
Views:
61
Hi

In my application on one of the forms, I have a button that opens another form containing just a grid and no RecordSource.

When the form loads the grid has columns twice the width as when I set them, the grid is based on a class I created and there is code in the Resize() event that handles the column sizes.

Whilst debugging the Form, it went from the Load() event into the Grid.Resize() event and then executed my class code BUT it isn't my grid, the name is the same but the width wasn't correct, and it didn't have any properties set!!!! After the Resize() event has finished (and screwed all of the column sizes!) it then goes straight into Resize() again but in MY grid with the correct width etc., BUT when all this is over, the grid that displays is the grid in the first Resize() execution and the sizes completely wrong

What's going here? I've tried everything and it's driving me crazy!

Sorry about the continuous waffle!

Cheers
Kev
Next
Reply
Map
View

Click here to load this message in the networking platform