Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBizObjMaintenanceForm...more problems...
Message
De
13/10/1998 17:19:22
 
 
À
13/10/1998 16:30:22
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00146398
Message ID:
00146409
Vues:
22
>**************
>
>Hmm... I just changed it so that when it comes in, the query will return records and the Highlite is there. Something must happen when the form is opened and there are no records in the view to disable the grid. But, why doesn't it re-enable when I populate the view and refresh the form... hmm???
>
>HELP!
>

Kevin,

I handled this with the following code in the findprocess method of my subclass of cBizObjMaintenanceForm? Is there a better way to do this...

IF NOT DODEFAULT()
RETURN .F.
ENDIF

if ! thisform.oPrimaryBizObj.lNoRecords
ThisForm.PGFBIZOBJ.Page1.CListOneToManyObj1.cGridList1.Enabled = .t.
ThisForm.PGFBIZOBJ.Page1.CListOneToManyObj1.cGridList1.SetFocus()
endif

*************************

Thanks,
BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform