Search found 124 matches: restorestate

Return to advanced search

Re: XBrowse: how to keep the selected row position

Try with this code, or use METHODS SaveState/RestoreState Static nRowPos := 1Static nRowSel := 1FUNCTION MAIN()    USE CUSTOMER    TEST()    TEST()    RETURN NILSTATIC FUNCTION TEST()    LOCAL oDlg, oBrw    DEFINE ...
by cnavarro
Sun Nov 22, 2020 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: how to keep the selected row position
Replies: 5
Views: 452

Re: New FTDN December 2019 (FWH 19.12)

... cada fila y se puede usar para mostrar/establecer valores en otras columnas. Ver: fwh\samples\xbrlbxat.prg - Window class: Métodos SaveState() y RestoreState() no funcionaban con ventanas MDICHILD. Ahora se ha corregido. viewtopic.php?f=6&t=37962 * Mejora en la clase TClipBoard: Ahora la ...
by Antonio Linares
Thu Jan 02, 2020 12:45 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December 2019 (FWH 19.12)
Replies: 2
Views: 3030

New FTDN December 2019 (FWH 19.12)

... for each row and can be used to display/set values in other columns. See: fwh\samples\xbrlbxat.prg * Window class: Methods SaveState() and RestoreState() were not working with MDICHILD windows. Now fixed. http://forums.fivetechsupport.com/viewtopic.php?f=6&t=37962 * Enhancement: TClipBoard ...
by Antonio Linares
Sat Dec 21, 2019 5:59 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December 2019 (FWH 19.12)
Replies: 2
Views: 3030

Recuperar coordenadas de ventana MDICHILD(SOLUCIONADO)

Hola: Insisto en el tema ya que todavia no lo he solucionado Siguiendo las instrucciones de Mr. Rao sobrecargue las funciones SaveState y RestoreState y con esta funcion grabo las coordenadas de la ventana y del XBRowse FUNCTION SaveWinData(oWnd,oBrw,cAlias )    LOCAL oIni   INI oIni ...
by jvtecheto
Thu Dec 19, 2019 5:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recuperar coordenadas de ventana MDICHILD(SOLUCIONADO)
Replies: 1
Views: 390

Re: Tamaño Dinámico de Columnas Xbrowse

Saludos y muy agradecido, solucionado con RestoreState() y SaveState()
by jnavas
Mon Nov 18, 2019 1:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño Dinámico de Columnas Xbrowse
Replies: 3
Views: 848

Re: Posible Bug method SaveState() Mr.Rao.

Though you did not mention, it appears you are using oWnd:SaveState() with MDICHILD windows. Our present implementation of Window's SaveState() and RestoreState() does not work with MDICHILD windows. We will fix this in the next version. For now, can you please make the following changes to TWindow ...
by nageswaragunupudi
Thu Oct 31, 2019 2:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Posible Bug method SaveState() Mr.Rao.
Replies: 3
Views: 641

Re: TWindow metodo SaveState, RestoreState.

Hi Mr. Rao. this code works perfectly oIni:Set( "states", "browse", oBrw:SaveState()  but this not save anything oIni:Set( "states", "window", oWnd:SaveState()  I use this function. FUNCTION SaveWinData( oWnd, oBrw,cAlias )...
by jvtecheto
Sun Oct 27, 2019 8:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989

Re: TWindow metodo SaveState, RestoreState.

but is not creating any .ini When we do not specify path for ini file, the ini file is created in and read from the user's appdata folder. This way different users can have their own ini files. Please search appdata folder. If you want to create the ini file in the exe folder, please specify the na...
by Compuin
Tue Jun 25, 2019 4:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989

Re: TWindow metodo SaveState, RestoreState.

but is not creating any .ini When we do not specify path for ini file, the ini file is created in and read from the user's appdata folder. This way different users can have their own ini files. Please search appdata folder. If you want to create the ini file in the exe folder, please specify the na...
by nageswaragunupudi
Tue Jun 25, 2019 3:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989

Re: TWindow metodo SaveState, RestoreState.

... AUTOCOLS ;      CELL LINES NOBORDER   oBrw:CreateFromCode()   oWnd:oClient   := oBrw   ACTIVATE WINDOW oWnd ;      ON INIT ( oWnd:RestoreState( oIni:Get( "states", "window", "" ) ), ;                oBrw:RestoreState( oIni:Get( ...
by Compuin
Tue Jun 25, 2019 1:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989

Re: TWindow metodo SaveState, RestoreState.

...  oWnd:oClient   := oBrw   ACTIVATE WINDOW oWnd ;      ON INIT ( oWnd:RestoreState( oIni:Get( "states", "window", "" ) ), ;              ...
by nageswaragunupudi
Tue Jun 25, 2019 1:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989

Re: TWindow metodo SaveState, RestoreState.

oBrw:SaveState( [aData] ) --> cState oBrw:RestoreState( cState ) These methods existed all the time. By default, saves and restores : RowHeight, column widths, display order of the columns, column show/hide status, group headers and column headers. ...
by Compuin
Mon Jun 24, 2019 5:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989

Re: TWindow metodo SaveState, RestoreState.

Awesome.

Fivewin is powerful.

Regards.

José.



Enviado desde mi ONE A2003 mediante Tapatalk
by jvtecheto
Sun Jun 09, 2019 8:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989

Re: TWindow metodo SaveState, RestoreState.

oBrw:SaveState( [aData] ) --> cState oBrw:RestoreState( cState ) These methods existed all the time. By default, saves and restores : RowHeight, column widths, display order of the columns, column show/hide status, group headers and column headers. ...
by nageswaragunupudi
Sun Jun 09, 2019 2:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWindow metodo SaveState, RestoreState.
Replies: 10
Views: 1989
Next

Return to advanced search