Search found 177 matches

by KDJ
Sat Nov 18, 2017 9:49 pm
Forum: PDF Generation
Topic: PDF Viewer DLL?
Replies: 139
Views: 10627

Re: PDF Viewer DLL?

PdfView version 2017-11-18 released. Changed: - moved "Split into single pages" and "Merge/Split/Rotate" options to Menu->Document->Tools. Added: - ability to split into single pages any PDF document (also not opened in the viewer), - export/import PDF bookmarks to/from text file - option Menu->Doc...
by KDJ
Thu Nov 16, 2017 8:07 pm
Forum: HMG General Help
Topic: change column width inside grid
Replies: 2
Views: 77

Re: change column width inside grid

franco

You can use ColumnWIDTH property:
FormName.GridName.ColumnWIDTH(nColumn) := 30
by KDJ
Mon Nov 06, 2017 7:24 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 30
Views: 1182

Re: From Web to image control

Niko In your internet browser probably (rather surely) is enabled handling of JavaScript. If you disable JavaScript, you will see the same images in the browser and in my program. -------- New version of ImageFromWeb: - now in URL field you can type internet address or path to local html file. Imag...
by KDJ
Sun Nov 05, 2017 12:18 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 30
Views: 1182

Re: From Web to image control

Niko

Try this version.
I added detection of image in attribute "data-src" inside "img" tags.

ImageFromWeb.zip
(4.4 KiB) Downloaded 25 times
by KDJ
Sat Nov 04, 2017 9:11 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 30
Views: 1182

Re: From Web to image control

quartz565 wrote:
Sat Nov 04, 2017 5:21 pm
webfile.zip
It looks as HTML5.
What version of Internet Explorer is in your system?
by KDJ
Fri Nov 03, 2017 9:29 pm
Forum: HMG Tutorials and Tips
Topic: How to insert a row in a Grid?
Replies: 3
Views: 171

Re: How to insert a row in a Grid?

Zoli B.

Use AddItemEx method.

From HMG documentation:
<ParentWindowName>.<GridControlName>.AddItemEx ( aItem, nRow )

Set nRow := 1
by KDJ
Fri Nov 03, 2017 9:11 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 30
Views: 1182

Re: From Web to image control

Example:

ImageFromWeb.png
ImageFromWeb.png (35.25 KiB) Viewed 82 times
ImageFromWeb.zip
(4.32 KiB) Downloaded 38 times
by KDJ
Mon Oct 30, 2017 9:24 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 30
Views: 1182

Re: From Web to image control

Niko 1. Download source of your page to file: URLDownloadToFile("http://...", "Source.htm") 2. Read content this file into variable: cHtml := HB_MemoRead("Source.htm") 3. In cHtml find all <img> tags: <img ...> 4. Inside every tag find src parameter: <img ... src="HereIsImageAddress" ...> 5. Take i...
by KDJ
Sun Oct 29, 2017 9:24 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 30
Views: 1182

Re: From Web to image control

Hello friends.
I improved my example to show how to keep original aspect ratio of the image.

ImageFromWeb.jpg
ImageFromWeb.jpg (81.57 KiB) Viewed 279 times
ImageFromWeb.zip
(3.04 KiB) Downloaded 38 times
by KDJ
Sat Oct 28, 2017 8:50 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 30
Views: 1182

Re: From Web to image control

This is an example in HMG:

ImageFromWeb.png
ImageFromWeb.png (185.43 KiB) Viewed 427 times
ImageFromWeb.zip
(1.99 KiB) Downloaded 47 times