FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour before oWnd:End() ?
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
before oWnd:End() ?
Posted: Fri Nov 04, 2022 07:38 AM
hi,

i like to "save Settings" before leave App.
under HMG i have ON RELEASE where i can put CODE for it.

Question : how under Fivewin :?:
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: before oWnd:End() ?
Posted: Fri Nov 04, 2022 07:52 AM
Dear Jimmy,

You can do it this way:
Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oWnd

   DEFINE WINDOW oWnd

   ACTIVATE WINDOW oWnd VALID ( MsgInfo( "place your code here" ), .T. )

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: before oWnd:End() ?
Posted: Fri Nov 04, 2022 08:14 AM
hi Antonio,
Antonio Linares wrote:You can do it this way:
that is easy :D
greeting,

Jimmy

Continue the discussion