Search found 2791 matches

by mol
Thu Dec 14, 2017 9:14 pm
Forum: HMG Samples
Topic: Export Data XLS/ODS to DBF
Replies: 5
Views: 224

Re: Export Data XLS/ODS to DBF

Hi Wolfgang! You don't need to abandon openoffice. Please look at my little sample reading data from OpenOffice calc document: #include <minigui.ch> function Main MsgInfo("start test") ReadDataFromOpenOffice() return *----------------- function ReadDataFromOpenOffice local oServiceManager,oDesktop,o...
by mol
Thu Dec 14, 2017 12:22 pm
Forum: HMG Samples
Topic: Print Windows Form
Replies: 16
Views: 2805

Re: Print Windows Form

TaDa! Some searching, some thinking and solution is ready! I've prepared function HMG_GetPrinterResolution( hDC) => { nResX, nRexY } where you can get hDC after selecting printer and starting printdoc This function return array of horizontal and vertical resolution in DPI (dot per inch) of selected...
by mol
Thu Dec 14, 2017 9:39 am
Forum: HMG Samples
Topic: Print Windows Form
Replies: 16
Views: 2805

Re: Print Windows Form

Hi guys! I need to return to this topic. I need to know printer resolution to print image directly from memory without using temporary file. My code prints graph on whole page: local i local nScale := 1 local DPM := 600/25.4 // Dots per millimeter, for laser printers with 600 dpi resolution select p...
by mol
Wed Dec 13, 2017 6:30 am
Forum: HMG General Help
Topic: GRID - OnQueryData
Replies: 12
Views: 418

Re: GRID - OnQueryData

:D
by mol
Tue Dec 12, 2017 8:43 pm
Forum: HMG Utilities
Topic: Drag grid item to another grid
Replies: 17
Views: 578

Re: Drag grid item to another grid

thank you Edward!
by mol
Tue Dec 12, 2017 6:53 am
Forum: HMG General Help
Topic: GRID - OnQueryData
Replies: 12
Views: 418

Re: GRID - OnQueryData

I added 3 records and run sample and ?????? Everything was fine and worked properly. I don't know why i have a problem in my project (yet). Maybe some variables are similar and rewrited each other. Sometimes you need to spend whole day or week looking for small error :) IMHO, if your sample works O...
by mol
Tue Dec 12, 2017 6:50 am
Forum: HMG General Help
Topic: GRID - OnQueryData
Replies: 12
Views: 418

Re: GRID - OnQueryData

You must attach libeay.dll and libiconv-2.dll
by mol
Mon Dec 11, 2017 7:45 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 26
Views: 472

Re: Button position in a grid

This heavy wind blows in Poland, too. And it's abnormal warm now - +10deg. C.
@Robert - you can always count on help on our forum :-)
by mol
Mon Dec 11, 2017 5:45 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 26
Views: 472

Re: Button position in a grid

Thanks!
by mol
Mon Dec 11, 2017 5:10 pm
Forum: HMG General Help
Topic: Button position in a grid
Replies: 26
Views: 472

Re: Button position in a grid

Few days ago:

Image