Search found 7 matches: ngt

Return to advanced search

Re: FOR ... GET ...NEXT

I had a same problem in FW1.9.2 and I solved it by replacing aGets array with vars: for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] xVar="x"+strzero(nGt,3) @ nRw, nCol GET oGets[ nGt ] VAR &xVar ..... next I hope that it works in FW for Harbour too Yes Goran ...
by Rimantas
Fri Oct 28, 2005 12:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4736

FOR ... GET ...NEXT

I had a same problem in FW1.9.2 and I solved it by replacing aGets array with vars:

for nGt := 1 to len( aFlds )
cFld := aFlds[ nGt ]
xVar="x"+strzero(nGt,3)
@ nRw, nCol GET oGets[ nGt ] VAR &xVar .....
next

I hope that it works in FW for Harbour too.

Regards

Goran
by Goran Papic
Fri Oct 28, 2005 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4736

... very usefull for building dialog's , also afterwards when they must be referenced in another get LOCAL oGets := Hash() LOCAL aPct := Hash() for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ cFld ] VAR aGets[ nGt ] PICTURE aPct[ cFld ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, ...
by Rimantas
Thu Oct 27, 2005 5:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4736

... very usefull for building dialog's , also afterwards when they must be referenced in another get LOCAL oGets := Hash() LOCAL aPct := Hash() for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ cFld ] VAR aGets[ nGt ] PICTURE aPct[ cFld ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, ...
by Frank Demont
Wed Oct 26, 2005 2:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4736

Re: Array of gets

... solution it can be at oDlg close moment , but I want to do that in oGet stage All is workig OK . Simply create codeblock local bCdb := { |oGet, nGt, others params...| get_blc( oGet, nGt, other params ..) } Now in the loop evaluate codeblock for nGt := 1 to len( aFlds ) oGet[ nGt ] = eval( bCdb, ...
by Rimantas
Wed Oct 26, 2005 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4736

Re: Array of gets

local oGets[ len( aFlds ) ] ... for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ nGt ] VAR aGets[ nGt ] PICTURE aPct[ nGt ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, cFld ) next It seems that this isn't working .. :-(( ...
by Rimantas
Wed Oct 26, 2005 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4736

Array of gets

Hi ! I want to assign gets in for .. next . Here is a small sample : local oGets[ len( aFlds ) ] ... for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ nGt ] VAR aGets[ nGt ] PICTURE aPct[ nGt ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, cFld ) next It seems ...
by Rimantas
Wed Oct 26, 2005 7:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4736

Return to advanced search