Search found 208 matches: positions

Return to advanced search

Find a number repeated on a array

i have to find in an array the numbers repeated from column 2 to column 6 and numbers in the same positions from column 2 to column 6 obviously saving the x, y positions the array function aData1_array() //for demoreturn ;{  {"Bari",89,58,55,31,67,24,12,44,3,8,573,549,523,545,517} ...
by Silvio.Falconi
Wed Jun 01, 2022 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Find a number repeated on a array
Replies: 0
Views: 113

Re: Cambiar columna de consulta TDolphin

... use memory arrangements and handle the Elements in the same order and blindly. I have to be checking my PRG from top to bottom to remember the positions of the variables within the arrangement. Work like this is very heavy and loss of time. In my last system (which is currently under development) ...
by JoseAlvarez
Sat Apr 16, 2022 4:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar columna de consulta TDolphin
Replies: 7
Views: 580

Re: Xbrowse Error

hi, Nages It's almost fine, but the height of the headboard in the various zoom positions does not remain constant 1 or 2 or 3 row The next piece of code must always be executed, not only : if ::lAdjusted is .T. if ::nHeaderPad > 0 ::nHeaderHeight -= ::nHeaderPad ...
by mauri.menabue
Fri Apr 01, 2022 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Error
Replies: 13
Views: 847

Re: print pixels in certain positions

... an own 'margin top'. https://i.postimg.cc/Cxzgf7xy/kjkj.png Note on number can go good on routes there is some error on last 2 positions I not change the source only the set #define _MARGIN_LEFT   0.9  // the circle pattern starts 8 mm from Top    #define ...
by Silvio.Falconi
Thu Mar 24, 2022 5:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Dear Silvio, It looks like you will have to play with the #define values of _MARGIN_LEFT, _MARGIN_TOP, _SQUARE_LEFT and _SQUARE_DIST to adjust the printing to your image. Maybe the vertical squares need an own 'margin top'. ok but it eas only a test because i not know how it can print on receipt, t...
by Silvio.Falconi
Sun Mar 20, 2022 7:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Dear Silvio,
It looks like you will have to play with the #define values of
_MARGIN_LEFT, _MARGIN_TOP, _SQUARE_LEFT and _SQUARE_DIST to adjust the printing to your image.
Maybe the vertical squares need an own 'margin top'.
by Detlef
Sun Mar 20, 2022 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Silvio, Look at the source code. I wrote there a comment to exchange 2 lines of code if you have an other version of FiveWin. Sorry I saw now !!! https://i.postimg.cc/BQWVkpDW/hhhhhhhhhhhhhhhhhhhhh.png only I put the image on PrintImage(0.5,0,10,21,"002.jpg",oPrn) I not Kn...
by Silvio.Falconi
Sun Mar 20, 2022 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Silvio,
Look at the source code.
I wrote there a comment to exchange 2 lines of code if you have an other version of FiveWin.
by Detlef
Sun Mar 20, 2022 6:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Hi Silvio, the routs problem is much easier for there is only one column. Try with the the following: #include "FiveWin.ch"#define _MARGIN_LEFT   0.8  // the circle pattern starts 8 mm from Top#define _MARGIN_TOP    2.7  // the circle pattern starts  2.7 mm from Left#define _XSPACE       ...
by Silvio.Falconi
Sun Mar 20, 2022 5:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Hi Silvio, the routs problem is much easier for there is only one column. Try with the the following: #include "FiveWin.ch"#define _MARGIN_LEFT   0.8  // the circle pattern starts 8 mm from Top#define _MARGIN_TOP    2.7  // the circle pattern starts  2.7 mm from Left#define _XSPACE        ...
by Detlef
Sun Mar 20, 2022 4:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Dear Detlef, I tried to divide the receipt on Sections Print_Numbers(oPrn,oPen,aNumbers,oBrush) // section 1 Print_Ruote(oPrn,oPen,aRoutes,oBrush) // section 2        #include "FiveWin.ch"    #define _MARGIN_LEFT   0.8  // the circle pattern starts 25 mm from Top    #define _MARGIN_TOP    ...
by Silvio.Falconi
Sun Mar 20, 2022 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Silvio, this is the important part of my code…             // now printing a square into circle            //----------------------------------            nRow := int( nVar / 10 ) // how many complete rows ( there 10 cols)             nCol := ( nVar % 10 )    // the rest of the divis...
by Detlef
Sat Mar 19, 2022 11:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Silvio, here is a program which may help you to print pixels in certain positions. I think you can easily adapt this mechanic to all of your different forms. #include "FiveWin.ch"#define _MARGIN_LEFT   0.8  // the circle pattern starts 25 mm from ...
by Silvio.Falconi
Sat Mar 19, 2022 10:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

Silvio, here is a program which may help you to print pixels in certain positions. I think you can easily adapt this mechanic to all of your different forms. #include "FiveWin.ch"#define _MARGIN_LEFT   0.8  // the circle pattern starts 8 mm from Top#define ...
by Detlef
Sat Mar 19, 2022 8:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725

Re: print pixels in certain positions

There are several coupons for now I'm working with a coupon I can send you all types It have the width 10 the length 20.5 In this coupon there are 5 boxes box 1 (Numbers) the circle "1" is at a distance x from the edge 0.8 and a distance y from the edge 2.7 each circle has a size of 0.50 (...
by Silvio.Falconi
Fri Mar 18, 2022 8:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print pixels in certain positions
Replies: 13
Views: 725
PreviousNext

Return to advanced search