FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Xbrowser keeps in a continious loop
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Xbrowser keeps in a continious loop
Posted: Fri Jan 03, 2025 01:17 PM

I use xbrowser for debugging.

When I use this :

oKassa = TGet object

@ dialog->top ,dialog->left GET oKassa VAR hKassa["SALDO"] SIZE hDialog["BREEDTE"],hDialog["HOOGTE"] PIXEL RIGHT FONT oFontGet COLORS CLR_GET,CLR_GETBACK OF oTarget UPDATE

xbrowser(oKassa)

I see all object items and can scroll. But when it comes on

21 bDelete : it will ask to Delete the control. You can say Yes or No but it will stay in a continious loop until you kill the program.

Can someone try this and see if it is a general thing ?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 12:06 PM

Would someone please see if you use Xbrowser with a Tget object get the same effect ?

xbrowser(oGet) is only needed to test

I don't think that I can do anything wrong in order to get that error.

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 04:17 PM
Dear Marc,

Do you mean a code like this one ?
#include "FiveWin.ch"

function Main()

   local oDlg, cTest := Space( 10 ) 

   DEFINE DIALOG oDlg TITLE "Test"

   @ 2, 2 GET cTest OF oDlg

   ACTIVATE DIALOG oDlg CENTERED ;
      ON CLICK XBrowser( oDlg )

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 04:22 PM
Antonio,

If you run this, you will see that Xbrowser (when you scroll down and past bDelete or come on bdelete, Xbrowsers will keep asking to delete in a endless loop. You can not scroll from top to bottom in xBrowser

At least here is thus, also with this sample.

I have to CTRL+ALT+DELETE to kill the process.
#include "FiveWin.ch"

function Main()

   local oDlg, cTest := Space( 10 )

   DEFINE DIALOG oDlg TITLE "Test"

   @ 2, 2 GET oGet Var cTest OF oDlg

   ACTIVATE DIALOG oDlg CENTERED ;
      ON CLICK XBrowser( oGet )

return nil
Marc Venken

Using: FWH 23.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 04:36 PM
Dear Marc,

Please test my EXE and let me know if you get the same behavior with it, thanks

https://wormhole.app/E71xE#pgFwYZunhwqwvP4Oq23D9A
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 04:44 PM

No error, but you have a tDialog and I a tGet object showing

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 05:07 PM
Do you mean like this ?
#include "FiveWin.ch"

function Main()

   local oDlg, oGet, cTest := Space( 10 ) 

   DEFINE DIALOG oDlg TITLE "Test"

   @ 2, 2 GET oGet VAR cTest OF oDlg

   ACTIVATE DIALOG oDlg CENTERED ;
      ON CLICK XBrowser( oGet )

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 07:16 PM

marc, answer: NO, NO, NO,NO and DISCARD.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 08:20 PM
Yes,

This is version 23.07

I just scroll the xbrowser from top down until bdelete. I don't press delete, just arrow down.
Yes/NO will stay and can't quit.

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowser keeps in a continious loop
Posted: Mon Jan 06, 2025 08:21 PM
karinha wrote: marc, answer: NO, NO, NO,NO and DISCARD.

Regards, saludos.
What do you mean ?

I do have a issue with this ....
Marc Venken

Using: FWH 23.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Xbrowser keeps in a continious loop
Posted: Tue Jan 07, 2025 08:20 AM

Here with latest FWH it seems to work fine. It exits properly

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowser keeps in a continious loop
Posted: Tue Jan 07, 2025 08:45 AM

OK, I also have latest version. Will upgrade it.

Marc Venken

Using: FWH 23.08 with Harbour

Continue the discussion