Hi Mr. Rao.
this code works perfectly
- Code: Select all Expand view RUN
oIni:Set( "states", "browse", oBrw:SaveState()
but this not save anything
- Code: Select all Expand view RUN
oIni:Set( "states", "window", oWnd:SaveState()
I use this function.
- Code: Select all Expand view RUN
FUNCTION SaveWinData( oWnd, oBrw,cAlias )
LOCAL oIni
INI oIni File cDirectApp + "\OBRAS.INI"
oIni:Set( cAlias, "window", oWnd:SaveState() )
oIni:Set( cAlias, "browse", oBrw:SaveState() )
RETURN NIL
and use it in VALID (SaveWinData(oWndObr,oBrw,cAlias),.T.)
[Obr]
window=
browse=XS1:{{"_nCreationOrders",{1,2,3,4}},{"_nRowHeight",21},{"_nWidths",{72.54,132.99,342.47,326.43}},{"_lHides",{.F.,.F.,.F.,.F.}},{"_cGrpHdrs",{,,,}},{"_cHeaders",{"CODIGO","C.I.F.","NOMBRE","DIRECCION"}}}
what am i doing wrong?
thanks in advance.
Jose.