CSBox Reviewed

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

CSBox Reviewed

Post by esgici »

Hi to all

Combined search box reviewed and rewritten for some bug reported such as : confusions occurs when multiple CSBox defined and another type of confusion when CSBox defined into a tab control. So, added "M" prefix with meaning of "multiple" to this version.

The bad news is : I couldn't sure that everything is OK. So please test fully and please report everything negative.

And unfortunately this isn't "libbed" ( in HFCL ) version. If no problem found, I hope that Rathi will made necessary steps for rebuild HFCL.

Thanks in advance.

Regards

--

Esgici
Attachments
MSCBox.zip
Multiple CSBOx test
(7.78 KiB) Downloaded 420 times
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: CSBox Reviewed

Post by Rathinagiri »

Thanks Esgici. I shall test it.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: CSBox Reviewed

Post by sudip »

Hi Esgici,
I shall also test this.
(My net was down for 3 days!!! :o )
Regards.
Sudip
With best regards,
Sudip
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: CSBox Reviewed

Post by sudip »

Hi Esgici,
Tested OK :)
Thanks a lot.
Regards.
Sudip
With best regards,
Sudip
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: CSBox Reviewed

Post by esgici »

sudip wrote: Tested OK :)
Thanks a lot my brother :D

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: CSBox Reviewed

Post by Rathinagiri »

Fantastic Esgici. :)

That too, without any public variable. Great contribution.

Tonight I shall create the hfcl library new version.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: CSBox Reviewed

Post by esgici »

rathinagiri wrote: I shall create the hfcl library new version.
Thanks a lot Rathi, I'll wait :D

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
gfilatov
Posts: 1067
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: CSBox Reviewed

Post by gfilatov »

Hello Esgici,

Please be so kind to revise the following change for Ecsape key handling:

Code: Select all

*-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._

STATIC PROC _CSDoEscKey( cParentName, cCSBoxName )

   SetProperty( cParentName, cCSBoxName, "VALUE", '' )
   
   DoMethod( ThisWindow.Name, "Release" ) 

RETURN // _CSDoEscKey()
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: CSBox Reviewed

Post by sudip »

Hi Grigory,

I thought you were on vacation for 2 weeks (as I read)!!!
Please take care of your health.
Thanks a lot for the code, but after compilation when I run the app and press Esc, got following Error:

Code: Select all

Date:08/18/09 Time: 11:17:20
Error BASE/1081 Argument error: +

Called from _ISCONTROLDEFINED(1053)
Called from SETPROPERTY(6337)
Called from _CSDOESCKEY(278)
Called from (b)CREATECSBOX(133)
Called from _DOCONTROLEVENTPROCEDURE(4735)
Called from EVENTS(553)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4399)
Called from CREATECSBOX(167)
Called from (b)_DEFINECOMBOSEARCHBOX(67)
Called from _DOCONTROLEVENTPROCEDURE(4735)
Called from EVENTS(1409)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4377)
Called from DOMETHOD(7224)
Called from MAIN(99)
Regards.

Sudip
With best regards,
Sudip
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: CSBox Reviewed

Post by sudip »

Hello Esgici,

I was using CSB for my new project :)

How can I change Items of Combosearchbox on the fly?

And I found that I have to press Esc key when I want to select another control without selecting any item of CSB. Can this behavior be changed?

With best regards.

Sudip
With best regards,
Sudip
Post Reply