Posible Bug method SaveState() Mr.Rao.
Posted: Tue Oct 29, 2019 3:10 pm
Reabro este hilo que se ha quedado sin respuesta, me interesa mucho el tema
Hi Mr. Rao.
this code works perfectly
but this not save anything
I use this function.
and use it in VALID (SaveWinData(oWndObr,oBrw,cAlias),.T.)
thanks in advance.
Jose.
Hi Mr. Rao.
this code works perfectly
Code: Select all
oIni:Set( "states", "browse", oBrw:SaveState()
Code: Select all
oIni:Set( "states", "window", oWnd:SaveState()
Code: Select all
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
what am i doing wrong?[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"}}}
thanks in advance.
Jose.