Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Init. a New Property to work with a File Pointer
Message
De
11/09/1998 16:39:14
 
 
À
11/09/1998 16:30:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00134212
Message ID:
00135656
Vues:
10
>>>How do I initalize a New property to work with a FILE Pointer from fcreate/fopen?
>>>
>>
>>You can say Thisform.FilePointer=0, if you want, but it's unnecessary. It's enough to create it and later fire:
>>Thisform.FilePointer=FCREATE("c:\temp\myfile.txt")
>
>This leads me to something my programmer asked me yesterday. Say, we can add new properties to classes at design time, and they become completely equal to the base properties. Right? Wrong. There's no way to have a file selector, color picker, listbox or whatever clickable in the PEM window for the custom properties. None that I know; I had to tell him to be satisfied with the comment available, it will at least give some hunch to anyone who uses the class as to what the property should represent. Still, I'd like to be able to declare the type of the property (numeric, integer, integer in the range 0-10, color integer, filename, picture filename, icon filename...).
>
>Is this possible to have in VFP?

I guess that new Assign event allows to check and limit property value and datatype.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform