Search found 10 matches: nrw

Return to advanced search

Re: Window question

James, 0 0 0 0 King Regards Marco #include "fivewin.ch" FUNCTION MAIN() LOCAL oMain LOCAL nTw := 100 , nLw := 100 , nBw := 400 , nRw := 500 DEFINE WINDOW oMain FROM nTw , nLw TO nBw , nRw PIXEL ACTIVATE WINDOW oMain oMain:coorsUpdate() ? STR( oMain:nTop ,4 ) + STR( oMain:nLeft ,4 ...
by MarcoBoschi
Wed Jun 08, 2011 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window question
Replies: 8
Views: 1789

Window question

... change! Is it normal? Many thanks Marco #include "fivewin.ch" FUNCTION MAIN() LOCAL oMain LOCAL nTw := 100 , nLw := 100 , nBw := 400 , nRw := 500 DEFINE WINDOW oMain FROM nTw , nLw TO nBw , nRw PIXEL ACTIVATE WINDOW oMain ? STR( oMain:nTop ,4 ) + STR( oMain:nLeft ,4 ) + STR( oMain:nBottom ...
by MarcoBoschi
Wed Jun 08, 2011 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window question
Replies: 8
Views: 1789

Buttons and ButtonBmps

... := nK1 + 50 local nK4 := nK2 + 50 local oFnt := if( !empty( oFont ), oFont, oFont_pagr ) local nFh := oFnt:nHeight local nFw := oFnt:nWidth local nRw := nFh - 1 DEFAULT lMask := .f. DEFAULT cText := if( lMask, if( cLg == "L", "Kodas :", "Code ( ID ) :" ), if( cLg == "L", "Kintamasis :", "Variable ...
by Antonio Linares
Wed Aug 27, 2008 7:37 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65163

Antonio, Usando PreView en reportes finaliza la App ......

... Y aqui esta un poco de codigo : Function PRNCRTGRP( nMode, aPrntrDts, cKurUsr, cCrtTxt, lVwDts, lOrdX ) LOCAL oPrn, nLine := 7.5, nQ, nRw, nCl, oFntH, oFntD, oFntF, oBrush, oUtil, cLX LOCAL cEmpHdr, cStrF, aHdrX := { "RELACION DE VENTAS [ORDEN] ", ; "CONCENTRADO DE VENTAS AGRUPADAS ...
by Raymundo Islas M.
Sat Apr 15, 2006 9:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio, Usando PreView en reportes finaliza la App ......
Replies: 11
Views: 2253

Re: FOR ... GET ...NEXT

... 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 , your sample is working in that way , I know ...
by Rimantas
Fri Oct 28, 2005 12:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

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: 4734

... 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, cFld ) next Frank , very good sample ! I'm ...
by Rimantas
Thu Oct 27, 2005 5:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

... 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, cFld ) next Frank
by Frank Demont
Wed Oct 26, 2005 2:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

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 .. :-(( I remmember something ...
by Rimantas
Wed Oct 26, 2005 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

Array of gets

... 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 that this isn't working ...
by Rimantas
Wed Oct 26, 2005 7:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

Return to advanced search