>Infact, I tried to use the Setall method also, but once the record
>navigation keys are disabled, refresh method doesn't enable them.
>I am using these commands :-
>
>[edit Click method)
>doedit=.t.
>thisform.setall(enabled,doedit) && enabling fields and grids
>thisform.recmov.setall(enabled,!doedit) && disabling Record movement
>thisform.refresh()
>
>[save Click method)
>doedit=.f.
>thisform.setall(enabled,doedit) && disabling fields and grids
>thisform.recmov.setall(enabled,!doedit) && enabling Record movement
>thisform.refresh()
>
>but once record navigation keys are disabled, nothing is happening
>In my form, more then 30 fields are there, and I am planning to put
>4 tabs, having fields from all the files. If I will set each and
>every field manually, it will be very long. Pls Advs
Setall works fine...and you do not even need Refresh. You need to have Enabled in quotes, though, perhaps, that's the problem...watchout if you don't use the class parameter, though, you'll disable just about everything...(s)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.