Information générale
Catégorie:
Gestionnaire de projet
>>I could have sworn that VFP had the ability to drag a form class from the Class Browser and drop it onto a Project to create a new form from that class. Can anyone refresh my memory on this? By the way, I'm using VFP 6 without SP3 applied. TIA
>
>That would be pretty cool, but I don't remember ever seeing this ability. Can't see how it could be done either, because there's not a way to add code to the project's OLEDragDrop event. But I'm sure if anyone could figure it out, it would be Ken Levy...
You can't do this from Drag And Drop... If you drag a Form Class with the Class Icon to your desktop, and Instance of that form will be created. Unfortunatly you can swith to desing mode.
You can easily create a subclass of a class in the class browser though. If you select a class, you can press the New Class button... the new class button will be filled out with the class you had highlited and the vcx that that class is in... all you need to do is fill in your new classname.
Also, try Right Clicking on the icon and some of the buttons for extra options.
BOb
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement