always visible QCalendar

thread: 4 messages  |  last: about 4 years ago  |  started: friday, february 1, 2008, 1:11 am pst


#1  |  Riccardo Persichetti (Italy) Italy
Friday, February 1, 2008, 1:11 AM PST

Hi all,

 sorry for my silly question but: is it possible to tell a QCalendar to be always visible and not to only popup when clicked?

Thanks a lot in advance for your help.

Regards,

 Riccardo

#2  |  jjrockman (Miami, FL) United States of America
Friday, February 1, 2008, 12:01 PM PST

Riccardo,

I too had this same need and I could not figure out how to do it either.  I ended up creating my own control.  See a screenshot here: http://jjrock.com/VisualCalendar.jpg

It's ajax-ified but does not rely on client-side calendar javascript. I have also added functionality to set a selected date and provide a range of valid dates (minimum/maximum).  It actually works pretty nice even though the code looks hacked together (because it was!)

I have been meaning to upload the control to the Downloads section but have not had time to clean and package it up.  If you can hold on a bit I may be able to get to this sometime over the weekend.

Unless...somebody else has a better solution?

Thanks,
JJ

#3  |  Riccardo Persichetti (Italy) Italy
Monday, February 4, 2008, 9:32 AM PST

Hi JJ!

 Your implementation seems exactly what i was looking for.. if you don't mind sharing your component with us it'd be great!

Please let me know when you're code is ready for public consumption..

Best regards,

 Riccardo

#4  |  jjrockman (Miami, FL) United States of America
Monday, February 4, 2008, 6:20 PM PST

Ok, I've uploaded the control and some testing files to the Downloads section.

Let me know if it works ok...

First time submitting my own stuff so I'm sure I forgot something!

Thanks,
JJ



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.