Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Class by Mark McCasland
Message
De
25/07/2001 10:54:10
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
25/07/2001 10:36:25
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00534643
Message ID:
00535031
Vues:
21
>>>Add a method to the combo, call it whatever you like. Move all the Init code to that method. When you are ready to load the data into the combo, issue a call to that method.
>>
>>Mark,
>>
>>That worked, but given my situation I also had to move around some mQuery calls to other methods and put a check in so the code (formerly in Init) in my new method ran only once. Thanks!
>>
>>Renoir
>
>Mark,
>
>One followup question... I use GetFldState() to determine if changes have been made to the view field values in case a user cancels the edit. Using your class it always returns that it has been changed even though no selection was done. Do you know if this is a result of your class logic or a nuance of the GetFldState() function? Thanks!
>
>Renoir

Mark,

Ok, I found what is causing it, but I'm unsure what to do about it. In your Init code is the following line:
.Value = luValue
This flips the field's status from a 1 to a 2. Any idea's on how I could handle this and not lose the functionality of your class? Thanks!

Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform