Search found 135 matches

by MIGUELON
Fri Dec 13, 2013 7:11 am
Forum: eXpress++ Support
Topic: calculate the column (Arial)
Replies: 9
Views: 12950

Re: calculate the column (Arial)

Thank you all for your help but scratch that solved it with the following function :

nCol+=DC_GraQueryTextBox(replicate ("W", Nlong + (int (Nlong * 0.8))), cFuente) [1]

regards
Miguel
by MIGUELON
Fri Dec 13, 2013 2:57 am
Forum: eXpress++ Support
Topic: calculate the column (Arial)
Replies: 9
Views: 12950

Re: calculate the column (Arial)

As you see with the factor has improved but not solved.
The question is to know how to calculate the length of a string to PIXEL is no proportioning font (ARIAL)
I need a similar function LEN () but Pixel

Greetings and thanks
Miguel
by MIGUELON
Fri Dec 13, 2013 2:44 am
Forum: eXpress++ Support
Topic: ADSDBE - CURSOR
Replies: 3
Views: 6335

Re: ADSDBE - CURSOR

If you can open a table with SQL but is open.
SPSQL.DLL I use and works great.

regards
Miguel
by MIGUELON
Fri Dec 13, 2013 2:39 am
Forum: eXpress++ Support
Topic: calculate the column (Arial)
Replies: 9
Views: 12950

Re: calculate the column (Arial)

Thanks for the help, the ank reference is only 15 characters and as you will see there is a lot more separation. I think the right thing would be to know how to calculate the length of a string in PIXEL since as you say not all the characters occupy the same. Coefficient proves you indicate me and I...
by MIGUELON
Thu Dec 12, 2013 4:18 pm
Forum: eXpress++ Support
Topic: calculate the column (Arial)
Replies: 9
Views: 12950

Re: calculate the column (Arial)

The separation between columns is huge if I use as calculation to column size.

As I can automatically calculate the position of each column using Arial

regards
Miguel
by MIGUELON
Thu Dec 12, 2013 3:54 pm
Forum: eXpress++ Support
Topic: calculate the column (Arial)
Replies: 9
Views: 12950

Re: calculate the column (Arial)

Hi Roger I print multiple columns of text and numeric and wish that align with a font (Arial).

thanks
Miguel
by MIGUELON
Thu Dec 12, 2013 2:08 pm
Forum: eXpress++ Support
Topic: calculate the column (Arial)
Replies: 9
Views: 12950

calculate the column (Arial)

Hi all, hope someone can help me. The question is: How I can calculate the column in which I print when I use a non-proportional font (Arial) for we=1 to len(aColumnaIMP) cImpCol:=aColumnaIMP[we] Long:=len(aColumnaIMP[we]) if esunnumero(cImpCol) @ nFila,nColumna DCPRINT SAY cImpCol+" " ALIGN DCPRINT...
by MIGUELON
Mon Sep 30, 2013 3:30 pm
Forum: eXpress++ Support
Topic: MySQL and Hector Pezoa library with OT4XB for MySQL
Replies: 4
Views: 8799

Re: MySQL and Hector Pezoa library with OT4XB for MySQL

Hi Rudolf, do not know if this piece of code can help, I utiliz SOFTPRO SPSQL without ODBC   @ 7.4,1 DCBROWSE oLineasCompraModificar data oAlbaranCTemp;                        PRESENTATION DC_BrowPres ();                          RBSELECT  DCBROWSECOL FIELD oAlbaranCTemp:dataarea:CANTIDAD_P WIDTH 4 ...
by MIGUELON
Fri Jul 26, 2013 4:35 pm
Forum: eXpress++ Support
Topic: Problems with the 258 version
Replies: 15
Views: 23219

Re: Problems with the 258 version

Hi Tom, thanks for your help. 1) The color parameter is a copy and paste error. As you see in the first TOPIC okay @ NFila, font cTexto nColumna cFuente DCPRINT SAY COLOR {255,255,255}, {0,116,232} 2) Not only have I changed the ID but also erasing the data in the registry. Tom Anyway, as I explaine...
by MIGUELON
Wed Jul 24, 2013 2:48 am
Forum: eXpress++ Support
Topic: Problems with the 258 version
Replies: 15
Views: 23219

Re: Problems with the 258 version

Thanks for your interest and help.
With the version "253 Express" everything works perfectly in both XP and W7 :D
The problem is in the 258 version :think:

Regards
Miguel