Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in grid
Message
 
 
À
01/08/2001 20:45:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00538180
Message ID:
00538658
Vues:
9
>>>Using NewObject:
>>>
>>>thisform.NewObject("txtNew", "mytextbox", "myclasslib", , "Courier New")
>>
>>Trey,
>>
>>I don't want to pick on you, but you can not just omit the parameter for some reason. You should use an empty string, otherwise you'll get an error. At least in VFP6.0 SP4 I got an error, as I recall.
>>>
>
>np.
>
>The NewObject method works just fine like this -
>the NEWOBJECT() function gives an error.
>
>Who knows when MS will "fix" it so it they work the same, though :)

Thanks for the clarification. Yes, it was the Newobject function, that gave me an error. Do you have VFP7.0 to check, if it was fixed for this function? The same problem with indexseek. You can not omit parameters. May be few other functions, where all parameters should be specified...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform