Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 4th, 2012, 08:14 AM
davornik davornik is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 1 davornik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 41 sec
Reputation Power: 0
ShowCheckbox in DBDateTimePicker

I need some help with DBDateTime control.
Is there anyway not to show the checkbox in the dbtimepicker and at the same
time being able to set time to 00:00:00 without getting the "You must be in
ShowCheckbox mode to set this value" error?

Reply With Quote
  #2  
Old October 4th, 2012, 10:09 PM
clivew clivew is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 2,045 clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level)clivew User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 2 h 37 m
Reputation Power: 382
There is no TDBDateTimePicker in Vcl.DBCtrls that can find.
Where is it?
If it is a third party component then you will probably get better help from the author than this forum.

As an off topic and unsolicited comment:
Except for read only display situations I usually find DB aware components more trouble than they are worth.

Reply With Quote
  #3  
Old October 18th, 2012, 08:18 AM
diyaots diyaots is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 125 diyaots Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 1 h 59 m 59 sec
Warnings Level: 5
Reputation Power: 0
Find the solutions of your problem.

Hi

Please find the answer of your problem
There is no TDBDateTimePicker in Vcl.DBCtrls that can find. It is a third party freeware component then you can download TDBDateTimePicker v.1.6.1.0 here. http://www.torry.net/pages.php?s=110 Then you have to create a component from dbdatetime.pas. After created a TDBDateTimePicker component, You can simply use component. Now problem is that set time to 00:00:00 on running time. So you have to miner change in DbDatatimePicker.pas file. Reach the

procedure Change; override; then do
Procedure TDBDateTimePicker.Change;
Begin
if not(FDataLink.Editing) then
FDataLink.Edit;
FDataLink.Modified;
// ResetDateFormat;
inherited;
End;

You have to comment ResetDateFormat function, It reset date also, that’s why it’s gone to next date function.

Thanks
Diya

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > ShowCheckbox in DBDateTimePicker

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap