General information
Category:
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only