Xbrowser keeps in a continious loop

Post Reply
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Xbrowser keeps in a continious loop

Post by Marc Venken »

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
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowser keeps in a continious loop

Post by Marc Venken »

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
User avatar
Antonio Linares
Site Admin
Posts: 42252
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Xbrowser keeps in a continious loop

Post by Antonio Linares »

Dear Marc,

Do you mean a code like this one ?

Code: Select all | Expand

#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
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowser keeps in a continious loop

Post by Marc Venken »

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.

Code: Select all | Expand

#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
User avatar
Antonio Linares
Site Admin
Posts: 42252
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Xbrowser keeps in a continious loop

Post by Antonio Linares »

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
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowser keeps in a continious loop

Post by Marc Venken »

No error, but you have a tDialog and I a tGet object showing
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
Antonio Linares
Site Admin
Posts: 42252
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Xbrowser keeps in a continious loop

Post by Antonio Linares »

Do you mean like this ?

Code: Select all | Expand

#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
User avatar
karinha
Posts: 7884
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: Xbrowser keeps in a continious loop

Post by karinha »

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

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowser keeps in a continious loop

Post by Marc Venken »

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.

Image
Last edited by Marc Venken on Mon Jan 06, 2025 8:23 pm, edited 1 time in total.
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowser keeps in a continious loop

Post by Marc Venken »

karinha wrote: Mon Jan 06, 2025 7:16 pm 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
User avatar
Antonio Linares
Site Admin
Posts: 42252
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Xbrowser keeps in a continious loop

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowser keeps in a continious loop

Post by Marc Venken »

OK, I also have latest version. Will upgrade it.
Marc Venken
Using: FWH 23.08 with Harbour
Post Reply