Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write function at Run-Time ???
Message
From
26/06/1998 05:17:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/06/1998 04:31:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111865
Message ID:
00111869
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform