Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another VFP9 SP2 bug?
Message
De
04/12/2007 21:43:00
Walter Meester
HoogkarspelPays-Bas
 
 
À
08/11/2007 07:44:27
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01267554
Message ID:
01273199
Vues:
15
Hi Emerson,

Did you find a workarround for it, or did you get any reaction from MS yet on this bug? I'm experiencing the same problem.

Walter,


>Hi for all!
>Someone could download the following file and do some tests to confirm if this is another VFP9 SP2 bug?
>
>VFP9SP2Bugs.zip
>
>Just unzip the file in c:\ (a folder named VFP9SP2Bugs will be created - doesn't work if you extract to another folder), compile the project, run VFP9SP2Bugs.exe.
>
>Select Test > Bug 1 options from main menu.
>
>Bug 1 (Fatal Exception) menu option will cause a C5 error.
>Bug 1 (No Error) menu option will run as expected.
>
>So, lets explain whats happening...
>
>I've created a grid class (UserGrid), a column class (UserColumn) and a header class (UserHeader).
>UserGrid was created visually but UserColumn and UserHeader classes are non visual classes and was defined in main.prg.
>I'm setting HeaderClass and HeaderClassLibrary of UserColumn properties to use UserHeader class instead of VFP native header class.
>I've created a form (TestBug1) and place an instance of UserGrid on it and set ColumnCount property to 5.
>All created columns and headers derived correctly from UserColumn and UserHeader classes.
>I've created a menu (UserMenu) to call the TestBug1 form with the UserGrid and:
>
>1A- If I set the "result" property of menu option to "command" and place a Do Form TestBug1, a C5 Error Fatal Exception Occurs;
>1B- If I set the "result" property of menu option to "command" and place a Do Form TestBug1, and reset ColumCount property of UserGrid to -1, the form runs as expected, without errors;
>2- If I set the "result" property of menu option to "procedure" and place a Do Form TestBug1 inside the procedure, the form runs as expected, without errors.
>
>If I do all these things in VFP9 without any SP's, everything works as expected.
>
>This is really a bug in SP2? If yes, is a menu or a grid issue?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform