Information générale
Catégorie:
The Mere Mortals Framework
>**************
>
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement