General information
Title:
Label assignment throws error 1925
Who knows about this?
It appears that the character "=" cannot be assigned to a label.
Example:
THISFORM.Label1.Caption = "="
The error message is "Unknown member LABEL1." and the error no is 1925.
In versions prior to 8.0, inspection of my code shows that I must have known about this and used the workaround:
cValue = "="
THISFORM.Label1.Caption = cValue
Unfortunately, I have no recollection of whether this was at 6.0 or 7.0. This does not now work, nor do:
THISFORM.Label1.Caption = '='
THISFORM.Label1.Caption = [=]
THISFORM.Label1.Caption = CHR(61)
Any clues?
The problem statement occurred deep in 100,000 lines of VFP8 code migrated from VFP7 and I feel lucky to find it after 3 months of testing.
John Burton
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only