473,569 Members | 2,762 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Steve Lebans Calendar Doesn't Higlight The Correct Dates

1 New Member
Hi all,

I don't know if anyone has come accross this before. I've been using Steve Lebans Calendar control (available here: www.lebans.com/monthcalendar.h tm ) for several database application I've built.

I only noticed recently, that after I've selected a date range, by highlighting the desired date, e.g. from 1 August 2007 to 7 August 2007, if I then use the navigation buttons to scroll from month to month, the same number of days is highlighted but for the next month. E.g. clicking the right navigation button will highlight 1 Sep 07 to 7 Sep 07. Click again, I see 1 Oct 07 to 7 Oct 07 highlighted.

Now this has no effect on the dates that are entered into my text fields on the form, which is probably why I haven't noticed it ealier. But could be a bit confusing to the user.

Is this a possible bug with Steve Lebans API Calendar? (I'm using Version 2.05)

Or maybe I'm doing something wrong in my coding. I notice the same problem with my other applications.
Aug 22 '07 #1
3 1466
Stang02GT
1,208 Recognized Expert Top Contributor
I tried using this also, I got it to work and the version i used did the same thing. I think its just a bug in the code he gives you.
Aug 22 '07 #2
Scott Price
1,384 Recognized Expert Top Contributor
Try changing the setting: Double Click to Select a Date, to: Single Click to Select a Date.

Then you'll never have the problem show up... Single clicking on a date range will close the calender, and you won't be able to scroll to other months with the same date range selected.

Regards,
Scott
Aug 22 '07 #3
Scott Price
1,384 Recognized Expert Top Contributor
I don't think you could properly call it a bug, since it doesn't result in adding incorrect dates.

It could also be helpful, IF you happen to select a range of dates, then realize you are on the wrong month and wish to change to the right month! (i.e. if you enter a range of dates in your field, save it, take another look and realize that you should have entered the same date range for the next month, go back into the calender to do so, then click to the next month... the same dates will stay selected)

Regards,
Scott
Aug 22 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
2009
by: Larry R Harrison Jr | last post by:
Sometime, if an error has occured or even if a user has answered NO to a MsgBox Y/N question, the Lebans calendar control will prevent the form from closing. I know the Lebans calendar control is excellent--I have not once used the Active X Calendar Control since discovering it--but this is an error that I need to fix. I am supposing it's...
5
3419
by: Larry R Harrison Jr | last post by:
I use the Lebans calendar control and love it; the only thing is that it commonly starts out at the year 1899 rather than the current year. Is there a way to specifically tell it to start at the current date instead? Note: it does this fine if I'm using it in the context of a form's text box, but I'm trying to use it on a module which is...
6
516
by: Mason | last post by:
I have a quick, probably easy, question about Lebans' calendar program. I have a form that allows a user to click on different technicians. When this happens, Lebans' calendar comes up with various dates set to bold based on the technician selected. However, when I close the calendar and select a different technician, the bold dates carry...
5
1381
by: Michael Gramelspacher | last post by:
I am using Lebans's calendar with Access 97 running on Windows 95, and Access 2000 on a different machine also running Windows 95. I had been using an earlier version of the calendar without problem. Now I switched to version 2.01. The only problem is that is will not honor the setting to open where last dragged. Same with both...
4
1905
by: Andrew Chanter | last post by:
I recently installed Stephan Lebans calendar control into an application. Only problem is that it always launches at the extreme right of the screen with most of the dialog off screen. I am activating it with a command button next to the field I want to update. Dont know if this is the issue. Any clues??
16
3040
by: DFS | last post by:
If you're listening, I want the middle of the calendar (showing 1 month) to open below the cursor position. It currently opens just to the right and below the cursor position. I hunted through the code, but can't determine what to alter. Very nice piece of work, by the way. Thanks
3
3598
by: Shevek | last post by:
Hi All, Hope someone can help! I am building an Event Calendar app based around the Calendar WebControl which builds an SQL string based on the SelectedDates property which is passed to Page.StartDate and Page.EndDate properties. This works nicely and I can select a Day, Week or Month and run my SQL against them.
2
1626
by: penguin732901 | last post by:
Hi Steve, I hope you can help me with this. In Access 97, I'm getting the following error. "The formats that enable you to output data as a Microsoft Excel, rich-text format, MS-DOS text, or HTML file are missing from the Windows Registry. Run Setup to reinstall Microsoft Access or, if you're familiar with the settings in the Registry,...
5
1497
by: Vaudousi | last post by:
Hi Dear Friends Is it possible to integrate Lebans calendar on a form in lieu and place of the Microsoft MonthView ? Many TKS in advance. José
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.