Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One supplication to the VFPT
Message
From
20/05/2004 06:54:56
 
 
To
19/05/2004 14:08:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00905355
Message ID:
00905544
Views:
6
This is the VFP standard evaluation for a grid cell repaint:
IF cell.Value is null THEN EVAL(ObjCell.NullDisplay) <==== for me this is a internal bug

cell.Value = EVAL(ObjCell.ControlSource)

IF cell.Value is null THEN EVAL(objCell.NullDisplay) <==== this is correct

IF objCell.Alignment = Automatic
     dummyValue = cell.Value
     IF dummyValue IS NULL 
          dummyValue = EVAL(objCell.NullDisplay) <==== for me this is a not optimized code
     ENDIF
     cell.Alignment = _computeAlign(dummyValue)
ENDIF
VFPT can remove the useless first line evaluation.

Thanks

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform