Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding properties to bizobj AFTER dropped on form
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00409564
Message ID:
00409641
Views:
20
>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform