Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox
Message
De
16/01/2017 15:50:42
 
 
À
16/01/2017 08:42:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01646654
Message ID:
01646714
Vues:
71
>>>>>My "base" combo has calls in both Init and Requery to a custom GetItems method. Code to populate goes into GetItems. I've never had any problem with this.
>>>>>
>>>>>And if trying to implement it like this doesn't work, maybe Tamar can send you her machine {just to be clear, this is a joke}. I just love it when the response to a request for help is "Well it works on my machine". To which my response is "Then please send me your machine" :)
>>>>
>>>>In this case, I was making a specific recommendation to NOT call Requery from Init, but rather to have both of them call a common method. I wasn't just saying "it works on my machine."
>>>>
>>>>Tamar
>>>Tamar,
>>>that helped. Still for me understandable how it happens that pemstatus(myCombo,'Listcount',5) shows true and still it errors. Noway to check / prevent this error?
>>
>>Type("cbo.Listcount") correct ?
>Thomas,
>Type and vartype both give error, pemstatus() gives .T.
>look also at the screendump I gave from the debugger in my inital question this thread.
>Regards,
>Koen

vartype erroring was somewhat expected, but on type usually "U" comes, not error...
Try catch showing unexpected behaviour as well ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform