FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Simple questions...
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Simple questions...
Posted: Fri Dec 26, 2014 05:27 PM

Hi Antonio,

I dont want to control if the dialog is closed or not.

Let me try to explain my needs.

I have a dialog. I have a folderex in dialog. I can control if it is pressed ESCAPE in valid (when exiting dialog) . I want to control in dialog. if user press the ESC in other then first page, I want to change the folders page to first page.

if it is possible? Why can not trap it bkeydown? is ESCAPE key special for windows?

Thanks.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Simple questions...
Posted: Fri Dec 26, 2014 06:30 PM
Hakan,

Please try this

Code (fw): Select all Collapse
ACTIVATE DIALOG oDlg ;
   VALID  If( oFolderEx:nOption != 1,;
                  ( oFolderEx:SetOption( 1 ), .F. ),;
                  .T. )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Simple questions...
Posted: Fri Dec 26, 2014 08:28 PM
Antonio Linares wrote:Hakan,

Please try this

Code (fw): Select all Collapse
ACTIVATE DIALOG oDlg ;
   VALID  If( oFolderEx:nOption != 1,;
                  ( oFolderEx:SetOption( 1 ), .F. ),;
                  .T. )


Thank you master. I could not think it will work, but It is OK.

Thank you again.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06

Continue the discussion