Search found 184 matches

by KDJ
Mon Apr 02, 2018 4:02 pm
Forum: HMG Unicode version
Topic: Function to get the regional format settings
Replies: 9
Views: 610

Re: Function to get the regional format settings

I have compiled it with HMG 3.4.4 32-bit, Win-7 64-bit, and all works properly:

Screen_Window.jpg
Screen_Window.jpg (29.19 KiB) Viewed 393 times
by KDJ
Mon Apr 02, 2018 1:52 pm
Forum: HMG Unicode version
Topic: Function to get the regional format settings
Replies: 9
Views: 610

Re: Function to get the regional format settings

Edward

This is great!

edk wrote:
Mon Apr 02, 2018 9:34 am
I do not know why I get invalid characters for LOCALE_SNATIVEDIGITS other than Arabic numbers?
If you change LOCALE_SNATIVEDIGITS, try to change LOCALE_IDIGITSUBSTITUTION too.
by KDJ
Sun Apr 01, 2018 10:33 am
Forum: HMG Unicode version
Topic: Function to get the regional format settings
Replies: 9
Views: 610

Re: Function to get the regional format settings

hmgchang wrote:
Sat Mar 31, 2018 11:48 pm
Is there any functions to get the regional format settings of the OS ?
Yes, Win API function - GetLocaleInfo (or GetLocaleInfoEx): https://msdn.microsoft.com/en-us/librar ... s.85).aspx
by KDJ
Sun Dec 03, 2017 9:26 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 3048

Re: From Web to image control

quartz565 wrote:
Sat Dec 02, 2017 9:26 pm
Is it possible to see the information of the size of an image before we download it,
It seems to me that there is no such possibility.
by KDJ
Tue Nov 28, 2017 9:27 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 3048

Re: From Web to image control

I improved the example.
Added:
- detection of images in <a> tags,
- context menu in image list,
- option "Save all".

ImageFromWeb.zip
(5.81 KiB) Downloaded 51 times
by KDJ
Mon Nov 27, 2017 6:00 pm
Forum: PDF Generation
Topic: PDF Viewer DLL?
Replies: 145
Views: 19467

Re: PDF Viewer DLL?

PdfView version 2017-11-27 released.

Added:
- ability to translate of selected text in PDF document using Google (MainMenu -> Document -> Translate selected text).

Added in SumatraPDF.prg library:
- function Sumatra_SelectAll,
- function Sumatra_GetSelText.

PdfView.zip
(8.42 MiB) Downloaded 66 times
by KDJ
Fri Nov 24, 2017 7:20 pm
Forum: HMG General Help
Topic: Operations with long numbers
Replies: 2
Views: 263

Re: Operations with long numbers

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

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: 230

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: 38
Views: 3048

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...