before oWnd:End() ?

before oWnd:End() ?

Postby Jimmy » Fri Nov 04, 2022 7: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
User avatar
Jimmy
 
Posts: 1699
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: before oWnd:End() ?

Postby Antonio Linares » Fri Nov 04, 2022 7:52 am

Dear Jimmy,

You can do it this way:
Code: Select all  Expand view
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: before oWnd:End() ?

Postby Jimmy » Fri Nov 04, 2022 8:14 am

hi Antonio,
Antonio Linares wrote:You can do it this way:

that is easy :D
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1699
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests