Search found 746 matches: loop

Searched query: loop

by Joel Andujo
Fri Feb 14, 2025 7:34 pm
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse con Tree se comporta erronemente.
Replies: 0
Views: 205

xBrowse con Tree se comporta erronemente.

... nCargo-nAbono), (nAbono-nCargo))

// Ignoro cuentas sin saldos
if empty(nCargo) .and. empty(nAbono) .and. empty(nSalAct)
oRs:oRs:MoveNext(); loop
endif
// 1 2 3 4 5 6 7 8
// _TreeItem(strFormat('Cta{1}', oRs:cosCtaSub)):Cargo:={oRs:cosCtaSsb, oRs:cosCtaSss, oRs:cosCosNum, nSalIni, oRs:Cargo ...
by Silvio.Falconi
Wed Feb 12, 2025 9:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: error in time format Resolved
Replies: 1
Views: 161

Re: error in time format Resolved

Resolved

The problem was that the calculation of the difference between the time of entry and exit was done inside the loop, and therefore it was added multiple times in the case in which multiple "Entrance" and "Exit" records were present for the same user.

Moving the calculation of nTotalTime out ...
by Marc Venken
Sat Feb 08, 2025 2:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ChatGpt+Xbrowse+Set Filter
Replies: 3
Views: 449

ChatGpt+Xbrowse+Set Filter

... Since there is a TAG on BRANDID, the filter is FAST since it has the 1 tag, then keeping the resultdata and process them with the Naam FILTER as a Loop, since there is NO tag for the 2de part of the filter etc ...

If I change the incomming filter string in a order that first ALL indexed fields are ...
by oliveiros junior
Sun Jan 26, 2025 2:23 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Extend a Fivewin class
Replies: 4
Views: 900

Re: Extend a Fivewin class

... XXXXX XXXXXX( image) |
| |
+------------------------------------------------------------------------------------+

I made a multi-button Loop for testing and tried a few things that didn't work using existing methods.

As:

For nX = 1 To Len( oDlg1:aItem )

@ nLinha, nColuna + 50 ...
by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 5197

Re: Using new Class TDeepSeek for documenting

... for each row.

bFor: CODEBLOCK - Codeblock to be evaluated before each row (condition for row processing).

bWhile: CODEBLOCK - Codeblock for loop continuation condition.

nNext: NUMERIC - Number of rows to process (optional).

nRec: NUMERIC - Starting record number (optional).

lRest: LOGICAL ...
by Marc Venken
Tue Jan 07, 2025 8:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

Re: Xbrowser keeps in a continious loop

OK, I also have latest version. Will upgrade it.
by Antonio Linares
Tue Jan 07, 2025 8:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

Re: Xbrowser keeps in a continious loop

Here with latest FWH it seems to work fine. It exits properly
by Marc Venken
Mon Jan 06, 2025 8:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

Re: Xbrowser keeps in a continious loop

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 ....
by Marc Venken
Mon Jan 06, 2025 8:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

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.

Image
by karinha
Mon Jan 06, 2025 7:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

Re: Xbrowser keeps in a continious loop

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

Regards, saludos.
by Antonio Linares
Mon Jan 06, 2025 5:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

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   
by Marc Venken
Mon Jan 06, 2025 4:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

Re: Xbrowser keeps in a continious loop

No error, but you have a tDialog and I a tGet object showing
by Antonio Linares
Mon Jan 06, 2025 4:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

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
by Marc Venken
Mon Jan 06, 2025 4:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

Re: Xbrowser keeps in a continious loop

... 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 ...
by Antonio Linares
Mon Jan 06, 2025 4:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowser keeps in a continious loop
Replies: 11
Views: 10405

Re: Xbrowser keeps in a continious loop

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