Search found 129 matches: restorestate

Return to advanced search

Re: Xbrowse and oBrw:RestoreState()

Sorry,
I just copy the command wrong. The right is:

ADD COLUMN TO XBROWSE oLbxBrw DATA {|| oLbxBrw:oDbf:Fields(cCampo):value } HEADER Rtrim(oVfa5:titulo) SIZE aFields[oBrw:nAt,3]*10
by vilian
Fri Aug 30, 2024 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse and oBrw:RestoreState()
Replies: 3
Views: 1011

Re: Xbrowse and oBrw:RestoreState()

Before answering the main question I am a bit curious about this command:
Code: Select all  Expand view  RUN
ADD COLUMN TO XBROWSE oBrw DATA {|| oLbxBrw:oDbf:Fields(cCampo):value } HEADER cCampo size 150.


Why are we including the data from a totally different browse oLbxBrw in a different browse oBrw?
by nageswaragunupudi
Thu Aug 29, 2024 2:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse and oBrw:RestoreState()
Replies: 3
Views: 1011

Re: Xbrowse and oBrw:RestoreState()

We will check.
by nageswaragunupudi
Wed Aug 28, 2024 3:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse and oBrw:RestoreState()
Replies: 3
Views: 1011

Xbrowse and oBrw:RestoreState()

... TO XBROWSE oBrw DATA {|| oLbxBrw:oDbf:Fields(cCampo):value } HEADER cCampo size 150. IF I use cStat := oBrw:SaveState() and after execute oBrw:RestoreState(cStat) the columns I have added at runtime are not being restored. Do you know why? Other thing - Is there any way to know that the user ...
by vilian
Tue Aug 27, 2024 11:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse and oBrw:RestoreState()
Replies: 3
Views: 1011

Modification of xbrowse with new feature

... "Age" ; // CELL LINES AUTOSORT NOBORDER FOOTERS CLASS TmyBrowse() WITH OBJECT oBrw :RestoreState( cState ) :aDefaultCols := aDefCols :SetUserCols(lSetUserCol) :lIncrFilter := .t. :bOnSort := { |b,oCol| oBrw:Seek( "" ), ; oBrw:cFilterFld ...
by Silvio.Falconi
Wed Jun 12, 2024 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Modification of xbrowse with new feature
Replies: 5
Views: 600

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: 539

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: 4370

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: 4370

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: 415

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: 973

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: 824

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: 2447

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: 2447

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: 2447

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: 2447
Next

Return to advanced search