Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compiling code generated by Class Browser
Message
De
27/03/2003 14:37:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00770910
Message ID:
00770925
Vues:
11
Thanks Sergey. It's clear now.


About my second question. I am adding that grid class by using Thisform.Page1.Addobject("grdchtrans") sintax. Do you know why some methods don't work while other do. Ex: DblClick and Click don't work?


TIA








>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>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform