Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crash with CONTROL and user defined property
Message
 
À
28/08/2003 06:16:04
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00824114
Message ID:
00824127
Vues:
18
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
Fil
Voir

Click here to load this message in the networking platform