Search found 10 matches

by drz
Fri Dec 08, 2017 11:37 am
Forum: HMG Unicode version
Topic: HPDFPRINT UNICODE
Replies: 10
Views: 676

Re: HPDFPRINT UNICODE

I can convert my application to WIN-1250 CODEPAGE and then i can use HPDFPRINT without UNICODE. But that means also correcting all strings in the code (like msginfo) and also all the data. I think this is the only solution since all dosc states that haru pdf is fixed to 72 dots per inch. Many thanks...
by drz
Thu Dec 07, 2017 4:01 pm
Forum: HMG Unicode version
Topic: HPDFPRINT UNICODE
Replies: 10
Views: 676

Re: HPDFPRINT UNICODE

Thank you very much fot your help edk. As I understand there is no solution print output is as it is.
by drz
Thu Dec 07, 2017 2:39 pm
Forum: HMG Unicode version
Topic: HPDFPRINT UNICODE
Replies: 10
Views: 676

Re: HPDFPRINT UNICODE

I tried
_HMG_HPDF_MULTILINE_PRINT_UNICODE ( _vr-1, _co+119, _vr+35, _co+196, 'Verdana', 7, , UPPER(ls_firma), , , , , , , , )
instead commented line and output is the same.
//@_vr, _co+120 HPDFPRINT UNICODE UPPER(ls_firma) TO _vr+4,_co+194 font 'Verdana' size 7
by drz
Thu Dec 07, 2017 2:09 pm
Forum: HMG Unicode version
Topic: HPDFPRINT UNICODE
Replies: 10
Views: 676

HPDFPRINT UNICODE

Hi,
again i have a problem. I am using unicode version of HMG and when i use HPDFPRINT UNICODE statement, printout is not sharp. I enclose a sample.
What am I doing wrong?

Best regards,
Drago
by drz
Fri Nov 10, 2017 10:24 am
Forum: HMG Samples
Topic: Fill data from dbf file in grid combobox control
Replies: 4
Views: 479

Re: Fill data from dbf file in grid combobox control

Hi Gregor,
sample you posted still use character array for combo BUT ... if i modify function by filling datat from database then it will do the tric. So thank you for solving my problem :)
by drz
Thu Nov 09, 2017 6:44 pm
Forum: HMG Samples
Topic: Fill data from dbf file in grid combobox control
Replies: 4
Views: 479

Re: Fill data from dbf file in grid combobox control

One of fields has a reference to another table which contetn i woukd like to edit in a combobox control.
by drz
Thu Nov 09, 2017 4:34 pm
Forum: HMG Samples
Topic: Fill data from dbf file in grid combobox control
Replies: 4
Views: 479

Fill data from dbf file in grid combobox control

Hi everyone,
I can not figure out how to fill data from dbf file to a combobox defined in grid control. All smples are only using fixed strings from table; but i need to choose a record from dbf file, linked to grid.

Thanks in advance for possible hint or solution.
by drz
Sun Oct 12, 2014 3:06 pm
Forum: HMG Samples
Topic: Get data into Grid
Replies: 11
Views: 2607

Re: Get data into Grid

Hi everyone! At last! I went checking old clipper 87 code I was using for development. In modules I was using a function which was opening databases. So since 1994 i didn't wrote a USE clause at all. And of course I forgot to code like this: SELECT 0 (this was forgotten) USE database..... So problem...
by drz
Sun Oct 12, 2014 2:22 pm
Forum: HMG Samples
Topic: Get data into Grid
Replies: 11
Views: 2607

Re: Get data into Grid

Thank's for very well documented instructions. It was really hard for me to change DOS environment and Windows. I had to change philosophy too ;) Troubles I had was because I tried to use browse component as a grid, instead of using grid component. I also discovered :( that I can see form code, and ...
by drz
Sun Aug 31, 2014 2:36 pm
Forum: HMG Samples
Topic: Get data into Grid
Replies: 11
Views: 2607

Get data into Grid

Hi, have been using Clipper for a very long time, now it is time to progress my apps to new environment. I am trying to display dbf data in grid, but i can't figure out how to connect grid with data, since in HMBG IDE there is no Rowsource (or item) property. Samples are all programmed not made with...