Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic CBizObjNoListMaintForm Caption property
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00693066
Message ID:
00693078
Views:
22
This message has been marked as the solution to the initial question of the thread.
>In the Framework’s sample application there is a Client class form that displays ‘Client-‘ plus the actual client name from the v_client view. As you move the pointer to a different client the caption in the upper left of the form changes accordingly. What are the steps to get this dynamic form caption feature working? I’m looking at the documentation on the CbizObjNoListMaintForm (specifically the cFormTitle property) and have tried some things but without success. Can anyone help?
>
>Thanks, David

If you're using the built-in business object on the form, modify the CListOneToManyObj1 object property called "cDescField" to include whatever field has the client name. If you're using your own bizobj, change it's cDescField instead. Make sure the lChangeFormTitle property on the bizobj is also set to .T.

For example, if you had a field called "cCompany" in v_client, you would just put "cCompany" (without the quotes) into the property. This property gets evaluated, so you can also build up strings: "ALLTRIM(cCompany) + " - " + ALLTRIM(cContact)". Again, remove the outermost quotes.

HTH
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform