Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding properties to bizobj AFTER dropped on form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00409564
Message ID:
00409641
Vues:
21
>Hi Alex!
>
>Is there a reason why you want to create a find form different than how Kevin describes how to do it in the developer's guide? The view that the SearchListObj is temporary. The parameters are dynamic based on what the user inputs before searching.

Hey Cathi! How's everything?

I actually have my own version of cFindForm. It's actually a subclass of cFindForm that is modal and instead of acting on oCallingForm, it simply returns the IID value of the record selected by the user.

I needed a findform that I could call pretty much from anywhere and it would ONLY return a value. If I went with the original cFindForm there was a lot of tight coupling involved and it was easier to just modify the form to do what I wanted.

But even in the original form, view parameters are created on the fly in the click() method of the FindNow button.

This got me into problems yesterday because I added some more functionality to the class which allows the user to take a quick detail view/edit at the record selected before actually selecting it and if he changed something or if he deleted the record I needed the bizobj to requery.

If you would like a copy of my new class, let me know...

alex
Low-carb diet not working? Try the Low-food diet instead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform