TIntlDatePicker with Flat border

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TIntlDatePicker with Flat border

Postby Theprasit » November 2nd, 2013, 3:56 pm

Hi,

Is it possible to change a border of TIntlDatePicker to flat style with bordercolor support?

Just went thru your code by not found how to modify. Do you have any suggestion on this modification.

Regards,

TS
Theprasit
Active Member
Active Member
 
Posts: 5
Joined: April 24th, 2013, 9:21 am

Re: TIntlDatePicker with Flat border

Postby Kambiz » November 3rd, 2013, 2:40 pm

Hi,

I'm afraid that I can't help you. The IntlDatePicker render mostly using its native underlying edit control.

A workaround is setting the BorderStyle property to bsNone then using a TShape component (or another appropriate control) to draw your own border around the control.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: TIntlDatePicker with Flat border

Postby Theprasit » November 4th, 2013, 5:11 pm

Thank you for your support. I tried to modify your code in "WMNCPaint" and manage to set flat border
I decide to change dropdown button too but no luck as cannot modify "Paint" method due to private var field.

Your component is much more useful for me, will search for any alternative.

Thank you and Regards,

TS
Theprasit
Active Member
Active Member
 
Posts: 5
Joined: April 24th, 2013, 9:21 am


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 20 guests

cron