Hi Jozef,
You are right that this special problem is bound to the use of a reserved word, but C0..5 is beyond syntax error. ::)
This happens only if I change the property in the property sheet. Any other way to manipulate this property is working perfectly. It happens only if both properties are definied. The crash does not happen in VFP 7.0. The class was initaly generated under VFP 7.0 and all was o.k. Now I've changed a property and VFP 8.0 crashes. So the problem is bound to the property sheet.
Agnes
>Hi Agnes ! You used VFP reserved word as name of a property.
>
>From VFP help:
>"Reserved words in Microsoft Visual FoxPro include functions, system variables, properties, events, methods, commands, menu constants, and clauses. When programming, avoid using reserved words as names, for example, window, table, or field names. If you use a reserved word as a name, it might generate a syntax error.
>
>The following are all Visual FoxPro reserved words.
>...
>FONT
>FONTBOLD
>FONTCHARSET
>FONTCLASS
>FONTCONDENSE
>FONTEXTEND
>FONTITALIC
>FONTMETRIC
>FONTMETRIC
>FONTNAME
>FONTOUTLINE
>FONTSHADOW
>FONTSIZE
>FONTSTRIKETHRU
>FONTUNDERLINE
>... "
>
>
>
>
>
>>Hi All,
>>
>>This is for you information. I don't need workarounds.
>>
>>VFP 8.0 gives me a new crash today!
>>
>>How to reproduce:
>>
>>create a CONTROL class, add a property 'fontbold' and a property 'fontitalic'.
>>Try to set one of those to .T. in the property sheet.
>>
>>
>>Workaround:
>>
>>Get a reference to the class (for example with SYS(1270)) and change the value in the command window.
>>
>>
>>Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]