Xbrowser keeps in a continious loop
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Xbrowser keeps in a continious loop
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 ?
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
Using: FWH 23.08 with Harbour
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: Xbrowser keeps in a continious loop
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.
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
Using: FWH 23.08 with Harbour
- Antonio Linares
- Site Admin
- Posts: 42252
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Xbrowser keeps in a continious loop
Dear Marc,
Do you mean a code like this one ?
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
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: Xbrowser keeps in a continious loop
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.
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
Using: FWH 23.08 with Harbour
- Antonio Linares
- Site Admin
- Posts: 42252
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Xbrowser keeps in a continious loop
Dear Marc,
Please test my EXE and let me know if you get the same behavior with it, thanks
https://wormhole.app/E71xE#pgFwYZunhwqwvP4Oq23D9A
Please test my EXE and let me know if you get the same behavior with it, thanks
https://wormhole.app/E71xE#pgFwYZunhwqwvP4Oq23D9A
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: Xbrowser keeps in a continious loop
No error, but you have a tDialog and I a tGet object showing
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
- Antonio Linares
- Site Admin
- Posts: 42252
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Xbrowser keeps in a continious loop
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
marc, answer: NO, NO, NO,NO and DISCARD.
Regards, saludos.
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: Xbrowser keeps in a continious loop
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.
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.
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
Using: FWH 23.08 with Harbour
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: Xbrowser keeps in a continious loop
What do you mean ?
I do have a issue with this ....
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
- Antonio Linares
- Site Admin
- Posts: 42252
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Xbrowser keeps in a continious loop
Here with latest FWH it seems to work fine. It exits properly
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: Xbrowser keeps in a continious loop
OK, I also have latest version. Will upgrade it.
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour