Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6SP5 - Unselect Combo selection
Message
De
03/06/2003 02:04:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00795134
Message ID:
00795535
Vues:
36
That's not what I meant. With Ctrl+0 you don't need to capture and replace with a NULL. Ctrl+0 does it. IOW no code needed (like Ctrl+T,Y in browse or Ctrl+A,C,V,X).
Cetin

>Thanks and as I use KeyPress I can capture the keystroke and replace with a null.
>
>I have also put up a thread about validations through tables for critical analysis, if you are interested will you go through it for me.
>
>Thanks a lot.
>
>>From VFP help :
>>"Also, CTRL+0 is supported in ON KEY LABEL in Visual FoxPro, allowing you to redefine the key combination used to enter a null value into a field."
>>
>>"Using NULL in Values and Expressions
>>In Visual FoxPro, you assign the null value programmatically with the .NULL. token or interactively with CTRL+0 in a field. "
>>
>>Cetin
>>
>>
>>>Thanks I just tried it and in my auto complete combo where I replace the ID as soon as I keypress, failed but this is any idea I will work on as it is, I hope, default VFP behaviour.
>>>
>>>>>Hi all
>>>>>
>>>>>I have this form with a cbo. This cbo is allowed to remain empty. If the user moves forward without modifying then alls well.
>>>>>
>>>>>Now supposing the user makes a selection and then he doesn't want it, how can he undo his selection. This cbo is connected to a lookup master database, as soon as the selection is made the FK in this table is updated with the PK from the lookup master.
>>>>>
>>>>>Except reverting changes is there any solution. Please advise.
>>>>
>>>>As an addition to Alex and David, Ctrl+0 'zero' unselects.
>>>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform