Page 1 of 1

Xbrowser keeps in a continious loop

Posted: Fri Jan 03, 2025 1:17 pm
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 ?

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 12:06 pm
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.

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 4:17 pm
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

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 4:22 pm
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


Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 4:36 pm
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

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 4:44 pm
by Marc Venken
No error, but you have a tDialog and I a tGet object showing

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 5:07 pm
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   

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 7:16 pm
by karinha
marc, answer: NO, NO, NO,NO and DISCARD.

Regards, saludos.

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 8:20 pm
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

Re: Xbrowser keeps in a continious loop

Posted: Mon Jan 06, 2025 8:21 pm
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 ....

Re: Xbrowser keeps in a continious loop

Posted: Tue Jan 07, 2025 8:20 am
by Antonio Linares
Here with latest FWH it seems to work fine. It exits properly

Re: Xbrowser keeps in a continious loop

Posted: Tue Jan 07, 2025 8:45 am
by Marc Venken
OK, I also have latest version. Will upgrade it.