Search found 4114 matches

by esgici
Sun Dec 10, 2017 3:03 am
Forum: Issues and Discussions related to Harbour
Topic: Having trouble with AT Function Behaviour
Replies: 4
Views: 137

Re: Having trouble with AT Function Behaviour

... I am having trouble using the AT function. Please see the attached piece of code. The AT function consistently returns Zero. ... Hi Peter Standard format of AT() function : AT( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos So you need swap two parameters: That is instead of LocPtr = AT(...
by esgici
Sat Dec 09, 2017 4:09 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 417

Re: Hard coding picture on a button

esgici wrote:
Sat Dec 09, 2017 12:26 am
But we have a little difference : problem is not BUTTON implementation of HMG, but icon file declared into .rc file; direct definition icon file in BUTTON definition successfully work fine.
And icon file declared into .rc file work fine as icon of .exe :?

Viva HMG :D
by esgici
Sat Dec 09, 2017 3:51 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 417

Re: Hard coding picture on a button

name of .rc file should be same as .prg ( in the sample: demo.rc for demo.prg ) Sorry, this is incorrect; correct is: name of .rc file should be same as . hbp ( in the sample: demo.rc for demo. hbp ) More, this isn't a compulsory; is a easiness gave by HMG. This is obvious, just like .hpc,. hbp ;) ...
by esgici
Sat Dec 09, 2017 1:58 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 417

Re: Hard coding picture on a button

Hi Rajeev. It's simple, just look into demo.rc file. There are defined files, whitch should be embended in your exe file. example: B1 BITMAP res\BUTTON.BMP B2 PNG res\img.PNG B3 ICON res\img.ICO Where: B1, B2 and B3 are alises of embended files; BITMAP, PNG, ICON are types of embended files; res\BU...
by esgici
Sat Dec 09, 2017 12:26 am
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 417

Re: Hard coding picture on a button

But we have a little difference : problem is not BUTTON implementation of HMG, but icon file declared into .rc file; direct definition icon file in BUTTON definition successfully work fine.

Viva HMG :D
by esgici
Fri Dec 08, 2017 10:45 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 417

Re: Hard coding picture on a button

Works fine with bitmap, png, gif, jpg, tif IMHO .ico files not convenient for button images and there is tons of utility (included freeware) to convert images from one type to another (my favorite is IrfanView). Still may be possible to add .ico type to images types supported by BUTTON control of H...
by esgici
Thu Dec 07, 2017 7:22 pm
Forum: HMG General Help
Topic: Hard coding picture on a button
Replies: 22
Views: 417

Re: Hard coding picture on a button

Hi Is there a way to hard code a picture on a button in the code. For eg if in a button control we include PICTURE "HP_PRINT" we will get PRINTER icon on the button, without icon actually being in the folder similarly if in a button control we include PICTURE "HP_CLOSE" we will get EXIT icon on the...
by esgici
Thu Dec 07, 2017 7:12 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 824

Re: How to search and retrive a value

RPC wrote:
Thu Dec 07, 2017 6:51 pm
...
I agree HMG is a miracle and those who use it effectively, l ...
With best wishes
Once again many thanks to your nice words :)

... those who use and those who follow and support like you 8-)

Regards

Viva HMG :D
by esgici
Wed Dec 06, 2017 7:44 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 824

Re: How to search and retrive a value

RPC wrote:
Mon Dec 04, 2017 11:27 am
...
I am interested in CSV to DBF conversion,
...
Hi Rajeev (and all of course )

As promised:

ScreenShotOf_DSV2DBF.prg.jpg
as name implied ...
ScreenShotOf_DSV2DBF.prg.jpg (43.28 KiB) Viewed 64 times
DSV2DBF.zip
DSV2DBF source files and resources
(5.42 KiB) Downloaded 13 times

Please don't forgive my faults :arrow:

Once again:

HMG is a miracle; built by a genius, thousands of fools couldn't break

Viva HMG :D
by esgici
Mon Dec 04, 2017 3:01 pm
Forum: HMG General Help
Topic: How to search and retrive a value
Replies: 31
Views: 824

Re: How to search and retrive a value

RPC wrote:
Mon Dec 04, 2017 11:27 am
...
I will certainly ask in case I am interested in CSV to DBF conversion,
...
OK, I will start,

please remain in line ;)

Regards :D