U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » Upp 711-dev1 released
Re: Upp 711-dev1 released [message #12731 is a reply to message #12730] Wed, 14 November 2007 14:53 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Thanks. I do have one more problem though:

The new DropDate/DropTime ctrls are very nice, a big improvement over the previous versions. However, I have a custom Date control that I want to have the same functionality. I previously did this by reproducing some of the DateTimeCtrl code, but with the new template structure I should be able to do this with:
class MyDropDate : public DateTimeCtrl<MyEditDate>

Unfortunately because the bodies of some of the DateTimeCtrl member functions are in a cpp file you can't use the template with anything not defined in the header (ie DropTime and DropDate).

Would it be possible to move the bodies of these functions into the header? There are only four functions without too much code.

Cheers,
James
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropDate/DateTimeCtrl problem
Next Topic: Upp 711-dev2 released
Goto Forum:
  


Current Time: Thu Oct 29 02:56:16 GMT+1 2026

Total time taken to generate the page: 0.01026 seconds