Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crash with CONTROL and user defined property
Message
 
To
28/08/2003 06:16:04
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00824114
Message ID:
00824127
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform