>>>>Try putting F in the format property for the textboxes.
>>>
>>>Unfortunately, the setting setcursorprop('MapVarchar',.t.,0) is applied per session (e.g. per form). Since in most forms we're using DataEnvironment, does it mean that we would need to change every form?
>>
>>sure.
>>
>>Have not a common root form class ?
>
>We do have several base classes, but the problem is that these forms use data environment to open SQL Server tables. So, I assume applying these settings in the Load method will be too late, what do you think?
The VFP design on dataenviroment is very confused,
some events are execute before form.Load
and dataenviroment.Init run after form.load.
FORM.DATAENVIRONMENT.OPENTABLES()
form.dataenvironment.BeforeOpenTables()
form1.Load()
form1.dataenvironment.Init()
then, or you move all code on form Load or dataenviroment.Init
or you set session's config on OpenTables.