Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox
Message
From
16/01/2017 15:50:42
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
 
To
16/01/2017 08:42:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01646654
Message ID:
01646714
Views:
70
>>>>>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 ?
Previous
Reply
Map
View

Click here to load this message in the networking platform