GRID have [ EDIT | ALLOWEDIT ] ] but it does not change Original Array
i read about "OnSave" and "This.EditBuffer" but not understand how it work.
BROWSE does not have EDIT but a Property AllowEdit <lValue>
but again the Question how to "enable" it
---
i found some Keyword like
in c:\hmg.3.4.4\SOURCE\h_browse.prg i found_BrowseInPlaceEdit
_BrowseEdit
Code: Select all
Procedure ProcessInPlaceKbdEdit(i)
HMG_SYSDATA [ 39 ]
Code: Select all
* Browse Key Handling .........................
If GetNotifyCode ( lParam ) = LVN_KEYDOWN
Do Case
Case GetGridvKey(lParam) == 65 // A
if GetAltState() == -127 ;
.or.;
GetAltState() == -128 // ALT
if _HMG_SYSDATA [ 39 ] [i] [2] == .T.
_BrowseEdit ( _HMG_SYSDATA [3][i] , _HMG_SYSDATA [ 39 ] [i] [4] , _HMG_SYSDATA [ 39 ] [i] [5] , _HMG_SYSDATA [ 39 ] [i] [3] , _HMG_SYSDATA [ 9 ] [i] , .t. , _HMG_SYSDATA [ 15 ] [i] , _HMG_SYSDATA [ 39 ] [i] [7] )
EndIf
EndIf
---
what does
Code: Select all
#ifdef COMPILEBROWSE