Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid dynamicbackcolor problem with form refresh
Message
De
06/04/2007 09:19:27
 
 
À
06/04/2007 09:09:59
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01212933
Message ID:
01212937
Vues:
8
>Hi all
>
>I have a problem with dynamicbackcolor in a grid: When I define one, I get a datatype mismatch in the return value of the baseclass of my form refresh. FYI I normally use the following structure in my methods:
>
>LOCAL llRetval
>llRetval = DODEFAULT()
>IF llRetval
> *My code here
>ENDIF
>RETURN llRetval
>
>In this instance, the value llRetval receives from DODEFAULT() happens to be the color code in the dynamicbackcolor. If I don't use dynamicbackcolor, all is ok. I find this wierd! I have debugged and the value returned in the parent method is a boolean (.T.) just before control is returned to the child method. Stepping once to return to the child method and the value returned is the number.
>
>So two questions:
>
>1) WHY!!!!!!!!!!!!!!????
>2) Do I really need to validate the boolean return value in a form refresh? What is the advantage?
>
>Thanks in advance
>Charles Richard

I don't quite follow. Dynamicbackcolor, if retrieved by some method, should be Character data type expression returning Integer.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform