Search found 2714 matches

by mol
Tue Sep 19, 2017 4:59 pm
Forum: HMG General Help
Topic: debugger watchpoints - how?
Replies: 2
Views: 99

Re: debugger watchpoints - how?

You can assign new value in this way
YourVariable:=NewValue
by mol
Thu Sep 14, 2017 10:51 am
Forum: General Discussions
Topic: Happy Birthday to Sudip !
Replies: 9
Views: 154

Re: Happy Birthday to Sudip !

Sudip, I wish you happiness and almost one return to our forum!
by mol
Thu Sep 14, 2017 5:20 am
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 404

Re: Check for valid

It's better to validate whole form if it's possible.
If you will validate control on lost focus, you must detect if user want to leave data without saving it, eg. by ESCAPE key, or [Cancel] button.
by mol
Thu Sep 07, 2017 7:25 pm
Forum: General Discussions
Topic: Completely new to clipper and Advice Required
Replies: 14
Views: 427

Re: Completely new to clipper and Advice Required

The problems may occur when your old program uses strange libs which contain functions not implemented in harbour libs.
by mol
Thu Sep 07, 2017 7:18 pm
Forum: PDF Generation
Topic: convert draw line to HPDFPRINT LINE
Replies: 6
Views: 160

Re: convert draw line to HPDFPRINT LINE

I've donloaded your sample, I've cutted every piece of code which draws in mathematica form and I got .pdf file with to line - horizontal and vertical with width 0.5 mm. Then I've changed horizontal line to 5 mm and I got it. #include "hmg.ch" function main LOCAL x_x1 := 500 , x_y1 := 300 , x_x2:= 5...
by mol
Thu Sep 07, 2017 7:11 pm
Forum: PDF Generation
Topic: convert draw line to HPDFPRINT LINE
Replies: 6
Views: 160

Re: convert draw line to HPDFPRINT LINE

In my app, code like this, works OK: @ nRow, nCol HPDFPRINT LINE to nRow+nMaxRowHeight+nHeight, nCol+nWidth ; PENWIDTH 0.1 COLOR BLACK could describe the variables nMaxRowHeight ? nHeight ? nWidth ? check my code tendencia.zip function drawshapes() local lSuccess := .f. local cLB := chr( 10 ) lOCAL...
by mol
Thu Sep 07, 2017 7:08 pm
Forum: PDF Generation
Topic: convert draw line to HPDFPRINT LINE
Replies: 6
Views: 160

Re: convert draw line to HPDFPRINT LINE

These are my private variables computed via application. Nothing special. That's a piece of code which really works ok
by mol
Thu Sep 07, 2017 6:27 am
Forum: Language Related
Topic: label at runtime
Replies: 15
Views: 385

Re: label at runtime

IMO, this is possible only using graphics tools.
by mol
Thu Sep 07, 2017 5:46 am
Forum: Language Related
Topic: label at runtime
Replies: 15
Views: 385

Re: label at runtime

I've created my own label control with vertical center option, but I haven't found method to create vertical orientated label.
Maybe Claudio or Grigory knows if it's possible.
by mol
Thu Sep 07, 2017 5:44 am
Forum: PDF Generation
Topic: convert draw line to HPDFPRINT LINE
Replies: 6
Views: 160

Re: convert draw line to HPDFPRINT LINE

In my app, code like this, works OK:

Code: Select all

@ nRow, nCol HPDFPRINT LINE to nRow+nMaxRowHeight+nHeight, nCol+nWidth ;
								PENWIDTH 0.1 COLOR BLACK