Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the biz object of a clistobj
Message
 
À
27/11/2002 14:17:27
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00727708
Message ID:
00727712
Vues:
10
Hi Nerissa,

>If I am displaying a different biz object dynamically in my clistobj grid, is there a method that I can use to get the name and alias of the biz object that is currently displayed?

I don't know you're concrete scenario, but if that currently active BizObj is the one where the New, Save, etc. messages are going to, you can get a reference to the so called "primary bizobj" from the THISFORM.oPrimaryBizObj property. You can then do a call to THISFORM.oPrimaryBizObj.GetAlias() in order to get the alias name for the primary cursor in the bizobj.

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform