Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox When() and THIS.Value anomaly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00701078
Message ID:
00701142
Vues:
15
Martin,

> Any using MESSAGEBOX() in When() method faces to strange behavior.

Exactly. That's what I found out as well.

> Sorry,but you redirect text to statusbar.

I already found a workaround (see the "Update:" part in my message). If you're simulating a space bar key press in the GotFocus event, and are not doing things like displaying message boxes again in the When event (what isn't necessary in my case), you are on the right item afterwards.

Thanks,
Armin

>
> MartinJ
>
>>Hi,
>>
>>> Add in method List1.When(): debugout recno() .
>>> If you use property Value or DisplayValue or array List() etc. in methods When() or GotFocus() then VFP dosn't skip to right record in tables.
>>
>>thanks for your reply! But my intention is *to have* a message box in the When event. Not for displaying the current item, but for more usefull things.
>>
>>Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform