Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compiling code generated by Class Browser
Message
 
 
À
27/03/2003 14:04:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00770910
Message ID:
00770916
Vues:
15
The article PRB: ADD OBJECT Syntax Error from Browser Code Snippet mskb #Q156506 explains why code generated by Class Browser may not run.

>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.
>
>
>2.
>------
>
>Why properties (i. e. Back and Fore Colors) and the methods DbldClick and Click don't work when I add my custom grid to a new form ?
>
<snip>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform