Search found 196 matches: nomodal

Return to advanced search

Re: impossible Error : lost DBF ...

... the first window created is MODAL and all other windows created are NONMODAL. All dialogs are MODAL by default and dialogs activated with NOMODAL clause are NONMODAL. Statements after ACTIVATE command of MODAL Window (i.e., the 1st window, i.e., the MainWindow) and all MODAL dialogs are ...
by nageswaragunupudi
Fri Jun 02, 2023 3:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: impossible Error : lost DBF ...
Replies: 4
Views: 363

Re: Newbie Question : XBROWSE

... Activation of ALL other windows are NONMODAL invariably. Dialogs: All dialogs are activated as MODAL by default, except when we activate with NOMODAL clause. MODAL ACTIVATION    ACTIVATE WINDOW oMainWnd / ACTIVATE DIALOG oDlg   <CleanupCode:closing tables,releasing resources,etc.>return ...
by nageswaragunupudi
Sat Nov 26, 2022 5:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Newbie Question : XBROWSE
Replies: 17
Views: 1482

XBROWSE REFRESCO DE TABLA

... BTNBMP oBtn ID 106 OF oDlg2 RESOURCE "no2" ; // NO ACTION oDlg2:End() ; TOOLTIP "Cancelar" BORDER ACTIVATE DIALOG oDlg2 NOMODAL oBrw:setfocus() oBrw:Refresh() return nil *-------------------------------------- FUNCTION V0100B1(oBrw) *-------------------------------------- ...
by pedroluis
Thu Jan 28, 2021 5:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE REFRESCO DE TABLA
Replies: 4
Views: 754

XBROWSE MARIADB REFRESCAR TABLA

... BTNBMP oBtn ID 106 OF oDlg2 RESOURCE "no2" ; // NO ACTION oDlg2:End() ; TOOLTIP "Cancelar" BORDER ACTIVATE DIALOG oDlg2 NOMODAL return nil *-------------------------------------- FUNCTION V0100B1(oBrw) *-------------------------------------- cSql := "SELECT * FROM ...
by pedroluis
Fri Dec 11, 2020 12:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE MARIADB REFRESCAR TABLA
Replies: 2
Views: 622

Re: XBrowse and nomodal dialogs

Sorry, it's not my decision. EMG I not understood, explain us I don't want to advertise because James Bott doesn't need it but system 'Bott is usefull, although I have not yet understood all the possibilities, for example for a Daniel Garcia class ( tplan) there are big problems, but for all prg (d...
by Silvio.Falconi
Tue Oct 13, 2020 5:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

Sorry, it's not my decision.

EMG
by Enrico Maria Giordano
Mon Oct 12, 2020 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

You can also avoid these kinds of problems by using database objects. Every database object creates its own unique workarea and handles it internally. Thus you never have to deal with workareas.
by James Bott
Mon Oct 12, 2020 6:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

you are newbie ? and since when are you a newbie? I really tried to understand and until you created the test sample I kept understanding that what I understood was not the problem you said you had because I really didn't think I could make a beginner mistake, I didn't believe it possible and now th...
by Silvio.Falconi
Sat Oct 10, 2020 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

Ok, I made a newbie mistake... :-(

It works! :-)

Many many thanks!

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 10:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

Enrico, I tested your sample
Please use clause NEW when you Open dbf

Code: Select all  Expand view

    USE CUSTOMER NEW ALIAS ( CGETNEWALIAS() ) SHARED
 
by cnavarro
Fri Oct 09, 2020 10:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

Please look my sample

( Now I will test your example. )

Image
by cnavarro
Fri Oct 09, 2020 10:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

... DIALOG oDlg;             ON INIT oBrw:AdjClient();             VALID ( DBCLOSEAREA( oBrw:cAlias ), .T. );             NOMODAL    RETURN NIL EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

Please, open the same table (with different alias) in both browses. Then put, in both dialogs, a button in the buttonbar with this action

ACTION MSGINFO( FIELD -> first )

From which workarea (1 or 2) it will read the field value?

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 8:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

Dear Enrico
I do not think I fully understand the problem that it raises. Can you better explain to me what you need
Here are two non-modal dialogs with xbrowse
Image
by cnavarro
Fri Oct 09, 2020 8:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692

Re: XBrowse and nomodal dialogs

Scenario: two nomodal dialogs (or windows) each with its own browse. The code behind them are the same and relies on the current workarea (this is not my choice). How can I get this working without a way to automatically switch the workarea when a dialog gains the focus?

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 7:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1692
Next

Return to advanced search