Information générale
Titre:
How to emulate DBC drag and drop
Hi all,
I'm trying to build a builder for my non-VFP co-workers. I want to drag fields from a listbox on to a form or other container class in design mode like can be done from a DBC. I can do this easily if the target form class is instantiated, but then I can't bring up the textbox builder. In other words, if I CreateObject(my fieldpicker form class) and CreateObject(my target from class), I can easily drag and drop fields onto the target form and move them around. Then I have to SaveAsClass and modify class to use my custom builder on the fields I've dropped. If I modify the target form class, my drag and drop no longer works.
I'm doing it this way because I don't want to create and maintain remote views and use a DBC to select fields for form building.
Any ideas?
Gary Foster
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