Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CBizObjMaintenanceForm...more problems...
Message
From
13/10/1998 17:19:22
 
 
To
13/10/1998 16:30:22
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00146398
Message ID:
00146409
Views:
21
>**************
>
>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
Map
View

Click here to load this message in the networking platform