Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write function at Run-Time ???
Message
De
26/06/1998 05:17:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/06/1998 04:31:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111865
Message ID:
00111869
Vues:
24
>I want to put below commands into a filed's "VALID EVENT" at Run-Time.
>
>******
>IF LASTKEY() = 27
> RETURN
>ENDIF
>THISFORM.SEARCH_COMP_NO()
>******
>
>Do i need to do something in FORM.INIT ??
Normally you can't writemethod at runtime. For a workaround :
1-In valid event call a dummy() function and at runtime change that function
2-At runtime removeobject field.textbox and addobject subclassed textbox with that code (in form init as a good place)
3-If contained in DBC change field level validation
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