Search found 196 matches: nomodal

Return to advanced search

Re: XBrowse and nomodal dialogs

There is no need to switch workareas.
XBrowse has nothing to do with currently selected workarea.

If you still have any problem, please provide a small sample.
by nageswaragunupudi
Fri Oct 09, 2020 6:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: XBrowse and nomodal dialogs

Yes, I'm sure of that because the aliases are generated by the program. So, what do you suggest for switching the workarea on focus change? Please note that bGotFocus seems not to be enough.

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

Re: XBrowse and nomodal dialogs

Can it be done?

Can be done, as long as you programmatically ensure that you are not creating a new Xbrowse for the same alias for which you already created another Xbrowse.
by nageswaragunupudi
Fri Oct 09, 2020 5:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: XBrowse and nomodal dialogs

Yes, I'm using different workareas. But the browses are dinamically created so I can't use any alias, I need that the current workarea is the one of the browse with the focus.

Can it be done?

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

Re: XBrowse and nomodal dialogs

I assume you are using different workareas for different browses. We can not use same workarea in different xbrowses. Switching the xbrowses does not switch workareas (does not change the selected workarea). XBrowse is also not affected by the currently selected workarea. XBrowse reads from oBrw:cAl...
by nageswaragunupudi
Fri Oct 09, 2020 5:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: XBrowse and nomodal dialogs

Yes, I already add

ALIAS ALIAS()

Is it correct? But the problem is that the workarea become number zero when I switch to another dialog with another XBrowse.

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

Re: XBrowse and nomodal dialogs

Dear Enrico,

I'm so sorry to ask you.
Do you add "ALIAS" in XBROWSE command? If not, I guess the XBROWSE will read from current workarea.
by dutch
Fri Oct 09, 2020 3:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: XBrowse and nomodal dialogs

Is there any code in XBrowse that changes the current workarea? Otherwise, who is that selects the workarea number zero? I don't do it for sure.

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

Re: XBrowse and nomodal dialogs

Sorry, it doesn't solve the problem. There are some codeblocks in XBrowse that are evaluated before bPainted and bGotFocus, so before workarea setting.

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

Re: XBrowse and nomodal dialogs

And try with ?

Code: Select all  Expand view
oBrw:bpainted = { || dbSelectArea( "dbffile" )}
by MaxP
Fri Oct 09, 2020 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: XBrowse and nomodal dialogs

Yes, same problem. oDlg:bGotFocus doesn't start at all.

EMG
by Enrico Maria Giordano
Fri Oct 09, 2020 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: XBrowse and nomodal dialogs

Enrico, have you tried with oDlg:bGotFocus = { || dbSelectArea( "dbffile" )} .
Best regards
Otto
by Otto
Fri Oct 09, 2020 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

XBrowse and nomodal dialogs

I'm having strange problems with XBrowse and nomodal dialogs. Switching from one dialog to another, often I find 0 (zero) as the current workarea. What is the correct way to manage workarea switching in such scenario? I'm currently using oBrw:bGotFocus ...
by Enrico Maria Giordano
Fri Oct 09, 2020 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1766

Re: Unicode malfunction according to modal / nomodal format

nageswaragunupudi wrote:Please reproduce the error.log.
Do you have the problem in mdi-dialog only or in normal dialogs also?


Any solution?
by richard-service
Tue Aug 06, 2019 3:51 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Unicode malfunction according to modal / nomodal format
Replies: 13
Views: 11230

Re: Unicode malfunction according to modal / nomodal format

Hi Mr.Rao Look it. not work=> Child Window+Resource Dialog( ACTIVATE DIALOG ::oDlg NOWAIT ) https://i.postimg.cc/yYr2vrsg/MDI-bug1.gif Work OK=> Child Window+Resource Dialog( ACTIVATE DIALOG ::oDlg NOWAIT ) and I Open another Resource Dialog for New/Edit data https://i....
by richard-service
Fri Jul 26, 2019 5:46 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Unicode malfunction according to modal / nomodal format
Replies: 13
Views: 11230
PreviousNext

Return to advanced search