Search found 134 matches: detached

Return to advanced search

Re: passing a value through a for..next loop

... inside a loop. Build the code-block in a separate function using the loop variable as one of the parameters of the function. Please search for detached locals in this forum. Keeping this principle in mind, I am sure you can yourself modify the program to use the index in bChange also. For now, ...
by Silvio.Falconi
Tue May 14, 2024 7:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 634

Re: passing a value through a for..next loop

... inside a loop. Build the code-block in a separate function using the loop variable as one of the parameters of the function. Please search for detached locals in this forum. Keeping this principle in mind, I am sure you can yourself modify the program to use the index in bChange also. For now, ...
by nageswaragunupudi
Mon May 13, 2024 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 634

Re: passing a value through a for..next loop

... is well known and was discussed many times in this forum. The solution is to create each control in a separate function using the principle of detached locals. Search for detached locals in this forum. The sample provided by Mr. Antonio above is the right way to go. This is a working program ...
by Silvio.Falconi
Mon May 13, 2024 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 634

Re: passing a value through a for..next loop

... is well known and was discussed many times in this forum. The solution is to create each control in a separate function using the principle of detached locals. Search for detached locals in this forum. The sample provided by Mr. Antonio above is the right way to go. This is a working program ...
by nageswaragunupudi
Sun May 12, 2024 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 634

Re: passing a value through a for..next loop

... n ] of oWnd <clauses> // note this value of "n" remains the same till oGet goes out of scope // the principle is called "detached locals" return oGet
by Antonio Linares
Fri May 10, 2024 2:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: passing a value through a for..next loop
Replies: 14
Views: 634

Re: Detached Local

hi,

AH, this Way it work, THX
by Jimmy
Fri Sep 15, 2023 10:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Detached Local
Replies: 2
Views: 197

Re: Detached Local

METHOD-1 #include "fivewin.ch"function Main()   local oWnd, oMenu, n   MENU oMenu      MENUITEM "Player"      MENU         for n := 1 to 9            PlayMenuItem( n )         next      ENDMENU   ENDMENU   DEFINE WINDOW oWnd MENU oMenu   ACTIVATE WINDOW oWnd CENTE...
by nageswaragunupudi
Fri Sep 15, 2023 2:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Detached Local
Replies: 2
Views: 197

Re: genblock

hi Silvo, as Detlef say : detached Locals when build in a "Loop" and use "Counter" you must call a Function to build a String for Codeblock so your "Counter" Number will be a STR() in a String      FOR ii ...
by Jimmy
Mon Jun 12, 2023 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: genblock
Replies: 5
Views: 275

Re: genblock

dear Silvio,

search the forum for detached locals.
Or have a look here http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41373&hilit=detached+local

Regards, Detlef
by Detlef
Mon Jun 12, 2023 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: genblock
Replies: 5
Views: 275

Re: Cambiar color a celda xbrowse segun condicion

Cesar, ya probaste con Detached Local? STATIC FUNCTION NoMostrar(oCol)IF valtype(oCol:value) = "N"    oCol:bStrData := { | | IF(oCol:value > 0 ,oCol:value,"NO EXISTE")}  ...
by FranciscoA
Mon Sep 26, 2022 7:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar color a celda xbrowse segun condicion
Replies: 8
Views: 479

Re: xbrowse and detached variables Mr Rao please Help

Dear Master Rao
Hats Off !!!!!!!!!!!!!!!
all works fine
Many many thanks !!!
The code exceed my knowledge but xbrowse is great !!
I'll Continue with my project

Again
Many Thnaks
best regards
Wilson
by wilsongamboa
Sat Aug 27, 2022 1:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and detached variables Mr Rao please Help
Replies: 14
Views: 1019

Re: xbrowse and detached variables Mr Rao please Help

Using fieldname macro, instead of FieldPut() and FieldGet() as in the sample you posted. #include 'fivewin.ch'function main()    local aKeys   := {'pichincha','internacio'}    local hBancos := { => }    local hRow    local a...
by nageswaragunupudi
Fri Aug 26, 2022 2:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and detached variables Mr Rao please Help
Replies: 14
Views: 1019

Re: xbrowse and detached variables Mr Rao please Help

Mr. Wilson Your way of creating columns using oBrw:AddCol() #include 'fivewin.ch'function main()    local aKeys   := {'pichincha','internacio'}    local hBancos := { => }    local hRow    local aCols   := {}    local oWnd    local oBrw    local i    local oCo...
by nageswaragunupudi
Fri Aug 26, 2022 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and detached variables Mr Rao please Help
Replies: 14
Views: 1019

Re: xbrowse and detached variables Mr Rao please Help

Cgallegoa wrote:Hi Mr. Rao

I have version FWH 20.07 with the same and other problems in xBrowse. Is there a corrected version of xBrowse for FWH 20.07 ?

Thanks for your help,

Regards,


Can you please let me know your other problems?
by nageswaragunupudi
Fri Aug 26, 2022 12:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and detached variables Mr Rao please Help
Replies: 14
Views: 1019

Re: xbrowse and detached variables Mr Rao please Help

Mr. Wilson Please try this sample and let me know if it serves your purpose. #include 'fivewin.ch'function main()   local aKeys   := {'pichincha','internacio'}   local hBancos := { => }   local hRow   local aCols   := &...
by nageswaragunupudi
Fri Aug 26, 2022 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and detached variables Mr Rao please Help
Replies: 14
Views: 1019
Next

Return to advanced search