Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loosing What is Typed In a Field (even different)
Message
 
À
20/06/2011 18:01:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01515194
Message ID:
01515254
Vues:
32
>Hi,
>
>It could be that I dont undestand your problem, but for me when I
>
>ThisForm.KeyPreview = .T.
>
>and in ThisForm.KeyPress:
>
>Lparameters nKeyCode, nShiftAltCtrl
>Do Case
>Case nKeyCode = -1 &&F2
>	Thisform.Pageframe1.ActivePage = 1
>Case nKeyCode = -2 &&F3
>	Thisform.Pageframe1.ActivePage = 2
>Case nKeyCode = -3 &&F4
>	Thisform.Pageframe1.ActivePage = 3
>Case nKeyCode = -4 &&F5
>	Thisform.Pageframe1.ActivePage = 4
>Case nKeyCode = -5 &&F6
>	Thisform.Pageframe1.ActivePage = 5
>Case nKeyCode = -6 &&F7
>	Thisform.Pageframe1.ActivePage = 6
>Case nKeyCode = -7  &&F8
>	Thisform.Pageframe1.ActivePage = 7
>Endcase
>
>
>
>The form jumps to the pages as requested without the m_mouseJump method you have coded above.
>
>Could very well be possible if you change your code to this your problem of loosing your typed values is also solved, although I would recommend to check before you jump to an other page if the already editted value in the text box needs to be saved or not. ( Tablebuffering(), GetnextModified() )
>
>Regards,
>
>Koen

Interesting... I will check this out.

Thanks!
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform