Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » CalendarCtrl » DropTime without calendar
DropTime without calendar [message #54058] Thu, 28 May 2020 00:23 Go to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I would like to have a DropTime that shows only the clock to pick the time, no need to show the calendar.
Do we have something similar o is there a method that hide the calendar? I suspect it exists but I am not able to find it.

Thanks,
Luigi
Re: DropTime without calendar [message #54078 is a reply to message #54058] Sat, 30 May 2020 13:53 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
I suspect that that Ctrl does not exist.
Anyway I'll use an EditString and then parse its content to recover the time.

Luigi
Re: DropTime without calendar [message #54707 is a reply to message #54078] Wed, 02 September 2020 11:20 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Hello!
I was making an alternative DropTime for my apps based on CtrlParent and several input fields.

It works perfectly! The customer is satisfied!

I'll post it here later.

This control has a very simple code. You can do it yourself.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: DropTime without calendar [message #54710 is a reply to message #54707] Wed, 02 September 2020 14:08 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
sergeynikitin wrote on Wed, 02 September 2020 11:20

I'll post it here later.


Spacibo!
Luigi
Re: DropTime without calendar [message #55045 is a reply to message #54710] Tue, 06 October 2020 15:37 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Hello Luigi!
I've prepare Ctrl and TestProgram

index.php?t=getfile&id=6250&private=0

Date inputs as Calendar and time as EditInt.

You can change calendar to flat EditInt's.

Code is very simple.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: DropTime without calendar [message #55046 is a reply to message #55045] Tue, 06 October 2020 15:39 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Ctrl package here:


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: DropTime without calendar [message #55047 is a reply to message #55046] Tue, 06 October 2020 15:41 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

and TestProgram:

SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: How to get TimeZone
Next Topic: DropTime TimeAlways
Goto Forum:
  


Current Time: Thu Mar 28 12:05:25 CET 2024

Total time taken to generate the page: 0.01467 seconds