Jump to content


Photo

Date Control


  • Please log in to reply
5 replies to this topic

#1 wvd_vegt

wvd_vegt

    Master Member

  • Honorable Members
  • PipPipPipPipPip
  • 710 posts
  • Gender:Male
  • Location:the Netherlands

Posted 03 October 2006 - 11:18 AM

Hi Boki,

Is it possible to add the dropdown part of the TNxDatePicker as a separate component (including the suggested event for supplying the font style/color of a date)? I know it's pretty much like the Win32 Month Calendar but i prefere pure vcl components and you already have much of the code to create it.

I think the calculator & color editor will be nice as a standalone vcl too.

So can you modify the TNxPopupControls in such way that they will be available as standalone vcl too?
G.W. van der Vegt

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,743 posts
  • Gender:Male

Posted 03 October 2006 - 11:26 AM

Hello Wim,



I understand, I already have such plan. I will pobably mimic Outlook 2003 calendars.



regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 wvd_vegt

wvd_vegt

    Master Member

  • Honorable Members
  • PipPipPipPipPip
  • 710 posts
  • Gender:Male
  • Location:the Netherlands

Posted 03 October 2006 - 11:46 AM

Hi Boki,

QUOTE (Boki (Berg) @ Oct 3 2006, 12:26 PM) <{POST_SNAPBACK}>
I understand, I already have such plan. I will pobably mimic Outlook 2003 calendars.


Please make the existing popupcontrols available as standalone vcl's too. I think it's a matter of splitting them in two parts (a vcl and a subclassed popup version). This might also fix the shine through problem of the combobox. It might be easy if you define an interface for the popup version and subclass the vcl version with the interface.
G.W. van der Vegt

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,743 posts
  • Gender:Male

Posted 03 October 2006 - 01:46 PM

Hello Wim,



I will try to made something like:



Attached File  date.gif   5.64KB   51 downloads



regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 wvd_vegt

wvd_vegt

    Master Member

  • Honorable Members
  • PipPipPipPipPip
  • 710 posts
  • Gender:Male
  • Location:the Netherlands

Posted 03 October 2006 - 07:12 PM

Hi Boki,

Just what i needed!

Again please do not forget to do the same for the other popup editors. Preferably without duplicating code and introducing double maintainance. If you could turn the popups into normal vcl's and just display them in a popup window / form i think it would be best.

Btw why are the popup's separate windows and not an alwaysontop forms?
G.W. van der Vegt

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,743 posts
  • Gender:Male

Posted 03 October 2006 - 07:21 PM

Hello Wim,

Unfortunatelly, DatePopup will need to be drawn from skratch (to have multiple months/calendars), but others no need.

I think that TForm use simiar settings as my popup controls. This is single parameter inside CreateParams and this can be changed easily.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users