Sample of usage of Browse()

HMG Samples and Enhancements

Moderator: Rathinagiri

CCH4CLIPPER
Posts: 130
Joined: Tue Mar 03, 2009 8:59 am

Sample of usage of Browse()

Post by CCH4CLIPPER » Thu Mar 05, 2009 9:53 am

Hi

I have tried to figure out how to use the Browse control in a form.

What I ahve done is to start a new project, add Boriwse control to the default window.
Problem is I can't figure out on how to add properties and events to get it to work :-(

What I need is a sample to get me started :-)

CCH
http://cch4clipper.blogspot.com

User avatar
gfilatov
Posts: 502
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 6 times
Been thanked: 32 times
Contact:

Post by gfilatov » Thu Mar 05, 2009 10:30 am

CCH4CLIPPER wrote:Hi

I have tried to figure out how to use the Browse control in a form.

What I ahve done is to start a new project, add Boriwse control to the default window.
Problem is I can't figure out on how to add properties and events to get it to work :-(

What I need is a sample to get me started :-)
Hello CCH,

Take a look for Building a BROWSE based HMG application generated by IDE at
http://vivaclipper.googlepages.com/ide_sample1_eng

I hope that helps. :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

CCH4CLIPPER
Posts: 130
Joined: Tue Mar 03, 2009 8:59 am

Post by CCH4CLIPPER » Thu Mar 05, 2009 1:41 pm

Hi

Yes, this helps tremendously !

BTW, how would like to do the same via hand-coding.
Following Esgici advice, I have discovered that one can be more productive via hand-coding :-)

User avatar
esgici
Posts: 4309
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 200 times
Been thanked: 71 times
Contact:

Post by esgici » Thu Mar 05, 2009 1:53 pm

CCH4CLIPPER wrote:Hi
BTW, how would like to do the same via hand-coding.
Hello "Speedy" :D

Your speed prevent you to look around !

We have C:\hmg\SAMPLES\BROWSE_x ( x= 1..5 ) five directories and some of them include more than one browse*.prg (all hand coded).

In fact, HMG-IDE sample of browse is based upon one of them.

Regards

--

esgici
Viva INTERNATIONAL HMG :D

CCH4CLIPPER
Posts: 130
Joined: Tue Mar 03, 2009 8:59 am

Post by CCH4CLIPPER » Thu Mar 05, 2009 2:12 pm

Hi Escigi

Tx for poing me in the right direction
OK, I slow down, a little bit only :-)

BTW, you must remember that I have been using Delphi (probably the best RAD tool for Win32) for the last 12 years to build huge ERP/CRM Windows apps. So I need get to speed fast :-)

CCH
http://cch4clipper.blogspot.com

User avatar
esgici
Posts: 4309
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 200 times
Been thanked: 71 times
Contact:

Post by esgici » Thu Mar 05, 2009 2:44 pm

CCH4CLIPPER wrote:Hi Escigi

Tx for poing me in the right direction
OK, I slow down, a little bit only :-)

BTW, you must remember that I have been using Delphi (probably the best RAD tool for Win32) for the last 12 years to build huge ERP/CRM Windows apps. So I need get to speed fast :-)

CCH
I don't have any intention for changing direction of anyone. Also I don't want withstanding to speed. I want only point dangers and probable damages of speed.

Sorry, I don't understand relation with using Delphi and getting to speed fast.

BTW, you don't think that everybody in here, are from out of programing world and begun to everything by zero; right?

--

esgici
Viva INTERNATIONAL HMG :D

CCH4CLIPPER
Posts: 130
Joined: Tue Mar 03, 2009 8:59 am

Post by CCH4CLIPPER » Thu Mar 05, 2009 3:00 pm

Hi Escigi

Great Browse() samples, still at Browse_1 and already I am having an insight (ie answers to unasked questions) into

a) Browses(), I am definitely going to change my dbedits() to Browses()
My Dbedit() usually support
F4- Append
F5- Horizontal Edit
F6 - Vertical Edit
F7 - Seek
F8 - Pack

Alt+B, dill down to another Master-Detail dbedit()

b) enhancements to Status Bar
c) Split Pages, etc

So, I am going to look forward to a major conversion exercise over the weekend :-)

CCH
http://cch4clipper.blogspot.com

User avatar
mol
Posts: 2771
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 102 times
Been thanked: 41 times
Contact:

Post by mol » Tue Mar 10, 2009 3:33 pm

I see that our forum was dominated by CCH...
I think you need to look at the samples first, then write to the forum.

User avatar
esgici
Posts: 4309
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 200 times
Been thanked: 71 times
Contact:

Post by esgici » Tue Mar 10, 2009 4:02 pm

mol wrote:I see that our forum was dominated by CCH...
I think you need to look at the samples first, then write to the forum.
Hi Mol

Reading documentations and "Looking at the samples first" is ok, I agreed.

But IMHO being dominated by someone is better than remaining motionless.

Also CCH is a very excited person and desire arriving his targets as fast as possible.

Do you have read all documents and analyzed / tested all samples ? Me, no.

Participating instead of criticize may be more friendly, I think.

Regards

--

esgici
Viva INTERNATIONAL HMG :D

User avatar
mol
Posts: 2771
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 102 times
Been thanked: 41 times
Contact:

Post by mol » Tue Mar 10, 2009 7:54 pm

Sorry, I didn't want to be so sharp, as it sounded...
It's good that are people, who respond patiently on every question.

Best regards, Marek

Post Reply