>>>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?
Yea, that would be nice! I could not come up with a good way of doing it in 5. I think by using the project hooks in 6 you could do it. Only thing is you would have to write you own PEM window and extend the scx file, other that that it would be a snap.
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com