Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select on entry
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026039
Message ID:
01026243
Views:
17
Vladimir,

Thanks for the reference. I have an opposite situation. My base class has SelectOnEntry checked. I don't want to change the base class, and I do not want SelectOnEntry behavior. My code doesn't work for some strange reason. Chad is agreeing that it's a bug.

>>Hi everybody,
>>
>>I've created a new property for the form called lNoSelectOnEntry.
>>
>>I put the following code in this property assign method:
>>
>>*---------------------- Location Section ------------------------
>>*   Library: 	Aforms.vcx
>>*   Class: 		Dataentryform
>>*   Method: 	Lnoselectonentry_assign()
>>*----------------------- Usage Section --------------------------
>>*)  Description:
>>*)
>>
>>*   Scope:      Public
>>*   Parameters:
>>*$  Usage:
>>*$
>>*   Returns:
>>*--------------------- Maintenance Section ----------------------
>>*   Change Log:
>>*       CREATED 	06/23/2005 - NN
>>*		MODIFIED
>>*----------------------------------------------------------------
>>LPARAMETERS vNewVal
>>*To do: Modify this routine for the Assign method
>>THIS.lNoSelectOnEntry = m.vNewVal
>>IF m.vNewVal = .t.
>>   thisform.SetAll('SelectOnEntry',.f.)
>>endif
>>
>>However, I do not see a difference between having this property on and off.
>>
>>What's wrong?
>>
>>Thanks in advance.
>
>---------------------------
>
>Hi Nadya,
>Take a look at Message#1014284
>HTH
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform