Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabled State of Edit Box
Message
From
05/11/2004 05:03:12
 
 
To
04/11/2004 16:50:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00958261
Message ID:
00958416
Views:
14
>I think you are right. The EditBox control is in a grid. When I set the ReadOnly on the Column it works fine, but on the individual control it does not. Thanks.

This is a VFP bug.

When you go into a grid cell, VFP copy the Column.ReadOnly value into
the CurrentControl.ReadOnly.
This can to be correct when Column.Bound = .T.,
but when Column.Bound = .F. VFP have not to make this assign.

This operation it is done into the events sequence:
-CURRENTCONTROL.GOTFOCUS
- < HERE >
- GRID PAINT
- GRID.AFTERROWCOLCHANGE

then you can reset it into the AFTERROWCOLCHANGE only.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform