Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SETALL
Message
From
28/11/2000 01:46:03
 
 
To
28/11/2000 01:37:09
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: SETALL
Miscellaneous
Thread ID:
00446038
Message ID:
00446042
Views:
9
>Why below setall all statement placed at the form.init event does not work :
>
>THISFORM.pageFrame1.page1.grid1.SETALL("KEYPRESS", "THISFORM.nextLine(nKeyCode)", "TEXTBOX")
>
>
>TIA.

Because you can only use the SetAll method to change properties, not put code into other methods. You can't do that at runtime, you'll need to create a subclass of a textbox and substitute that for the standard textbox in the grid. You can either do this with a builder or you can do this with code in the grid Init method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform