Search found 2815 matches

by mol
Fri Jan 19, 2018 6:14 am
Forum: HMG General Help
Topic: Question on using harbour-3.0.0-win
Replies: 5
Views: 213

Re: Question on using harbour-3.0.0-win

you should add line to configuration tab in Project Browser of IDE:
libs= ...name of your library ...
by mol
Wed Jan 17, 2018 7:35 pm
Forum: HMG General Help
Topic: GRID RecNo() CellNavigation:=.F.
Replies: 7
Views: 294

Re: GRID RecNo() CellNavigation:=.F.

I tried to use grid with .dbf files, but strange situasions happened.
I've abandoned this and I'm still using browse. It's quick and stable.
by mol
Tue Jan 16, 2018 2:48 pm
Forum: HMG General Help
Topic: define columncontrols runtime
Replies: 6
Views: 165

Re: define columncontrols runtime

Wow!
Nice sample!
I don't like to modify _HMG_SYSDATA.

What does letter E in {'TEXTBOX','NUMERIC','999999.999','E'}
by mol
Tue Jan 16, 2018 12:55 pm
Forum: HMG General Help
Topic: define columncontrols runtime
Replies: 6
Views: 165

Re: define columncontrols runtime

It's impossible in my opinion.
You can use virtual grid in which you can mix everything.
by mol
Sat Jan 13, 2018 3:13 pm
Forum: Self Introduction
Topic: I want to be a HMG Poster
Replies: 493
Views: 68096

Re: I want to be a HMG Poster

I've started my adventures with ZX Spectrum and Basic, too :-)
by mol
Fri Jan 12, 2018 6:36 am
Forum: HMG Samples
Topic: Print Windows Form
Replies: 26
Views: 3443

Re: Print Windows Form

You can use this functon to calulate length of printed text: function PrintLen( cString,nFontsize,cFontname) return round(gettextwidth(Nil,cString,cFontname)*0.072/72*25.4*nFontsize,2) It's not ideal, sometimes does not work enough good. nMaxLength := 20 cLine := "Code" do while PrintLen(cLine + "."...
by mol
Fri Jan 12, 2018 6:30 am
Forum: HMG Samples
Topic: Print Windows Form
Replies: 26
Views: 3443

Re: Print Windows Form

andyglezl wrote:
Thu Jan 11, 2018 11:51 pm
Hola BeGes

Deberás usar un Font de ancho fijo. ( Times New, Consolas, etc )

Ejemplo: PADR( "Price", 15, "." ) + ":"


NOTA:

Trata de hacer tu pregunta en un nuevo Post para que no se confundan o pierdan las respuestas...
It won't work fine if you use proportional font.
by mol
Wed Jan 10, 2018 8:22 pm
Forum: Self Introduction
Topic: I want to be a HMG Poster
Replies: 493
Views: 68096

Re: I want to be a HMG Poster

Welcome from Poland!
by mol
Mon Jan 08, 2018 6:28 am
Forum: HMG Tutorials and Tips
Topic: Change a varible value during debug operatio
Replies: 1
Views: 100

Re: Change a varible value during debug operatio

you can evaluate it, eq
x:=100;
or you can call function
x:=SomeFunction(...)
by mol
Sun Jan 07, 2018 8:51 pm
Forum: Others
Topic: Communication via http
Replies: 16
Views: 623

Re: Communication via http

Tomorrow I' ll start production tests.
It's beautiful to join something material like lamps, readers with software.