Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling code generated by Class Browser
Message
From
27/03/2003 14:14:53
 
 
To
27/03/2003 14:04:58
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00770910
Message ID:
00770912
Views:
18
>Hi.
>
>I have a Test Classlib containing a Test Grid.
>My question is:
>
>1.
>------
>If I save and compile the source code generated by "View Class Code", Why do I get syntax errors like this: (See Code below)
>
>ADD OBJECT grdchtrans.column1.header1 AS header WITH Caption = "Header1", Name = "Header1"
>Error in line 23: Syntax error.
>
>ADD OBJECT grdchtrans.column1.text1 AS textbox WITH BorderStyle = 0, Margin = 0, ForeColor = RGB(0,0,0), BackColor = RGB(128,255,255), Name = "Text1"
>Error in line 31: Syntax error.
>
>

I compiled your code below without any errors.
Previous
Reply
Map
View

Click here to load this message in the networking platform