FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour no modal dialog
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
no modal dialog
Posted: Thu Mar 16, 2017 01:42 PM
hi to All
which is the best use of no modal dialog?

I have my main window with menu that run an ACTION MYPROGR()...

My prog start with a DIALOG and in PELLES C properties are MODAl FRAME YES, SYSTEM MODAL NO
Code (fw): Select all Collapse
DEFINE DIALOG oDlg RESOURCE "DIALOG" FONT oFont TITLE "Title"
...
...
REDEFINE BTNBMP BtnOk ID 1 OF oDlg RESOURCE "OK"         ;
    ACTION (ESPCAT11(myAction(),oDlg:End())

ACTIVATE DIALOG oDlg CENTERED

when click on BtnOk start the process (about 10 minutes of process) but when it works the main windows does not minimized

how can I to minimizes main windows?

Thank you

ciao
Damiano
FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: no modal dialog
Posted: Fri Mar 17, 2017 07:29 AM

hi guys

any help?

thank you

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: no modal dialog
Posted: Fri Mar 17, 2017 08:51 AM

Can you show a reduced and self-contained sample of the problem, please?

EMG

Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: no modal dialog
Posted: Sat Mar 18, 2017 02:06 PM

hi Enrico,
thank for your reply, I had some samples and now found it, thank you!

ciao
Damiano

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)

Continue the discussion