diesable navigation Buttons using TArrayData():Edit() ?

diesable navigation Buttons using TArrayData():Edit() ?

Postby Jimmy » Sun Jul 23, 2023 8:26 am

hi,

to "edit" a Recored i´m using
Code: Select all  Expand view
oRec := TArrayData() :New( { aValue }, aFields )
// disable navigation Buttons ?
lEdit := oRec:Edit()

Image
there are some navigation Button on left Side, how to disable them :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: diesable navigation Buttons using TArrayData():Edit() ?

Postby nageswaragunupudi » Sun Jul 23, 2023 11:55 pm

Syntax:
Code: Select all  Expand view
METHOD Edit( lReadOnly, lNavigate, cTitle )


We can write:
Code: Select all  Expand view
TArrayData():New( {aValue}, aFields ):Edit( nil, .f. )
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: diesable navigation Buttons using TArrayData():Edit() ?

Postby Jimmy » Mon Jul 24, 2023 1:46 am

hi,

thx for Answer
nageswaragunupudi wrote:Syntax:
Code: Select all  Expand view
METHOD Edit( lReadOnly, lNavigate, cTitle )


We can write:
Code: Select all  Expand view
TArrayData():New( {aValue}, aFields ):Edit( nil, .f. )

it seems not to make any difference :?
Code: Select all  Expand view
CLASS TArrayData
METHOD Edit()  INLINE ::record():Edit()

there are no Parameter to pass ...
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: diesable navigation Buttons using TArrayData():Edit() ?

Postby nageswaragunupudi » Mon Jul 24, 2023 9:40 am

it seems not to make any difference :?
Code:
CLASS TArrayData
METHOD Edit() INLINE ::record():Edit()

there are no Parameter to pass ...

Sorry and also thanks for pointing our oversight.

Please use this:
This is working:
Code: Select all  Expand view
TArrayData():New( {aValues}, aFields ):Record():Edit( nil, .t. )
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: diesable navigation Buttons using TArrayData():Edit() ?

Postby Jimmy » Tue Jul 25, 2023 10:30 pm

hi,
nageswaragunupudi wrote:Please use this:
This is working:
Code: Select all  Expand view
TArrayData():New( {aValues}, aFields ):Record():Edit( nil, .t. )

Yes, now it work, thx
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 27 guests