Search found 10 matches

by giuper63
Sun Aug 06, 2017 9:30 am
Forum: PDF Generation
Topic: SELECT PRINTER PDF
Replies: 0
Views: 723

SELECT PRINTER PDF

Hi to all, I did the code above: #Include '.\hbwin.ch' #include "hmg.ch" Function Main SET LANGUAGE TO ITALIAN SET CODEPAGE TO ENGLISH PdfTest() Return Procedure PdfTest() Local lPDF:=1 ////////////////////// 1 = Stampa tramite stampante - 2 = Genera PDF Local PdfName:="PDF.pdf" Private nRig:=10, nC...
by giuper63
Wed Apr 26, 2017 9:10 pm
Forum: HMG General Help
Topic: tree -is it possible to change image?
Replies: 6
Views: 2007

Re: tree -is it possible to change image?

Solved! For me the problem was to understand the image system of trees. When you define a tree you MUST give 2 images to NODEIMAGES and 2 images to ITEMIMAGES. Now you can add more images with AddImages. In the example of edk there are 6 images: "folder.gif", "folder_page.gif", "Page.gif", "page_nex...
by giuper63
Tue Apr 25, 2017 12:06 pm
Forum: HMG General Help
Topic: tree -is it possible to change image?
Replies: 6
Views: 2007

Re: tree -is it possible to change image?

Hi to all, same problem of mol! Is there a way to change the images of a tree after it's definition? I have found the instruction TreeItemSetImageIndex ("Tree_1", "Main", Main.Tree_1.value,{2,2} ) where I put the image of the item n. 2 to the actual item, but it not solve the problem. I could use hi...
by giuper63
Fri Jan 18, 2013 11:15 pm
Forum: HMG Tutorials and Tips
Topic: block cells in a grid at runtime
Replies: 8
Views: 2387

Re: block cells in a grid at runtime

Many thanks Claudio,
your post helped me very much to find the column width not only in grid but also in browse columns!

Great!
Greetings.
by giuper63
Fri Jan 11, 2013 12:47 am
Forum: GUI Basics
Topic: Dynamic Actions problem
Replies: 5
Views: 1893

Re: Dynamic Actions problem

Thanks esgici, you give me the right idea! This is the final code: #include "hmg.ch" Request PlayAsterisk, Playexclamation, PlayBeep, PlayOK, PlayHand FUNCTION Main() Local nN, aTest1:={}, aTest2:={} // Define an array for button creation For nN:=1 to 5 AAdd(aTest1,{'One'+AllTrim(Str(nN)),'{|| MsgBo...
by giuper63
Mon Jan 07, 2013 5:27 pm
Forum: HMG Wishlist
Topic: Cargo property in controls
Replies: 0
Views: 1803

Cargo property in controls

It should be very useful to have a "cargo" property in most controls where I could put personal elements depending on the use. It could be like the Cargo variable of the Clipper TBrowse Class. Example: In some cases I store the previous value of an element to restore it in some conditions. Here is t...
by giuper63
Mon Jan 07, 2013 5:12 pm
Forum: GUI Basics
Topic: Dynamic Actions problem
Replies: 5
Views: 1893

Dynamic Actions problem

Hi to all, I have a problem using dynamic actions. I hope someone can help me to solve the problem. I usually create dynamic programs where the components are stored in arrays. Here is an example: *************************************************************************** #include "hmg.ch" FUNCTION ...
by giuper63
Fri Dec 07, 2012 2:15 pm
Forum: HMG Unicode version
Topic: HMG 3.1.1
Replies: 153
Views: 64730

Re: HMG 3.1.1

Grid is not ready to take over all functionality of browse. I've tried to replace all my browse's and got a lot of problems with it. I was desribed it about 18 months ago... So, save the BROWSE , pleeeeeease :lol: :lol: :lol: Regards, Marek I'm in accord with mol!!! I also have many problems to rep...
by giuper63
Mon Nov 05, 2012 9:54 pm
Forum: Self Introduction
Topic: I want to be a HMG Poster
Replies: 497
Views: 86019

Re: I want to be a HMG Poster

Hi to all, I'm Giuseppe from Italy and I would like to post with you all. To start I want to give you a little device for the grid control: In the example folder of HMG, from Grid.22 to Grid.39, you will find some grid examples with test.dbf. I notice that using CELLNAVIGATION .F. or .T. nothing cha...
by giuper63
Mon Nov 05, 2012 9:37 pm
Forum: Self Introduction
Topic: Hi to all from Italy
Replies: 3
Views: 1147

Hi to all from Italy

Hi, my name is Giuseppe Pergolesi. I live in Macerata in center Italy. I started to develop with DBase about in 1986 and after some years I passed to clipper. I made programs for courts, insurance brokers, and auto parts. Some of them are still in use! I've always wondered why Computer Associates di...