Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Object from Class With All Properties/Methods
Message
De
08/08/2001 14:06:16
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
08/08/2001 13:56:23
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00541381
Message ID:
00541437
Vues:
26
This message has been marked as a message which has helped to the initial question of the thread.
Renoir-

>I think so, but it might be me. :) If I can't visually add custom methods or properties to an object on a form, and I need them, I must create a class.

Ah. I see. Yes, by all means make a class with empty methods and properties. Or just comment out all your custom code in your class you have and try re-adding it bit by bit, testing along the way.

> What if I want them, but I don't want the class?

This I don'tunderstand. Every combo you drop on in a container is an object. It's an instantiation of a class. Even if you use the basic one. It's an instantiation of the baseclass combo. Once an object exits, it's pretty much fixed. It's even questionable, tho' useful, OOP practice to even add properties to an object.

> After what I've gone throught the past few days with my combobox/focus issue (now referred to as Combo666) I was hoping I could just have an object with all the funtionality of the original class in order to just try and get it to work.

Er, well, you don't really want _all_ the functionality, right? The bad bits.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform