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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement