Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Message by clicking any field
Message
From
09/08/2009 10:12:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01416880
Message ID:
01416915
Views:
48
>I would like to display a messagebox as the user clicks any field or any place of my form
>
>Is it possible without have to write the code in each field ?
>
>= messagebox ("This form is readonly, click edit to unlock it")
>
>Moises
for each oControl in thisform.Controls
   if upper(oControl.BaseClass) = 'TEXTBOX'
      =bindevent(eval('Thisform.'+oControl.Name) ,"Click",ThisForm,"myClick")
   endif
endfor
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform