Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SFQuery
Message
 
 
À
16/02/2017 10:34:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Divers
Thread ID:
01647996
Message ID:
01648024
Vues:
35
>Hi Dmitry.
>
>>I think I got it. The SFQuery looks at the value in the Value property of the control.
>
>Look at the code in SFGetCondition.cmdOK.Click. There's a CASE statement where it decides how to get the value from the control: using a custom method name specified in cGetMethod, using a GetValue method, using a cExpression property, or using the Value property. So you have lots of choices there.
>
>Doug

Hi Doug,

By going through the code with the debugger I did see the values of cGetMethod and others. But I could not figure out how to use them, In the end I figured that all I need to do is to add properties Value and DisplayValue to my container class. And your code uses the values from these properties. It only took me like 3 hours to figure it out :).
Your SFQuery (even though it must be outdated) is tremendous!. Thank you for the great product and this input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform