How do I create a combobox in a custom menubar to display months like:
1 January
2 February
3 March
etc
and then assign the month number (1, 2, 3, etc) of the selected month to a
textbox on a form?
Thanks for all help!
Judy
Nov 13 '05
10 2212
> Steven's calendar will also allow a user to select a range of dates, so that you can program in something like "Find me a class within this period." The only bug in it that I've been able to find is that the user's range selection (highlighting a "group" of dates) is limited to a single month. Other then that, it works like a charm!
Not a bug Chuck but an operator error!<grin>
The MonthCalendar class exposes a property to set the maximum number of
days allowed when selecting a range of dates. The default is 30. You can
set it to whatever you want!
:-)
--
HTH
Stephen Lebans http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Chuck Grimsby" <c.*******@worl dnet.att.net.in valid> wrote in message
news:ad******** *************** *********@4ax.c om... So does Steven's.
Take a serious look at it if you already haven't. I'd use it like this: Steven's form is what the user sees. You can click on a date and have it populate a textbox on hidden form, which causes Steven's calendar to disappear. When the hidden form's date textbox changes (using the "On_change" event, you open up another form, this one visible to the user, to display all the data from the database that you want to display.
If you want the user to be able to select more then just a date, make the form not a hidden form, but populated with whatever additional selections you want or need to have (Locations, classes, instructors, whatever).
Steven's calendar will also allow a user to select a range of dates, so that you can program in something like "Find me a class within this period." The only bug in it that I've been able to find is that the user's range selection (highlighting a "group" of dates) is limited to a single month. Other then that, it works like a charm!
But, it's your application. Do what you need to. I'd personally like to see what you wind up with. I'm a bit of "nut" on calendars. I have an application I run here on my personal computer that tells me the date and what's happened on this date in about 25 different calendars. It's just something I have for fun though...
On Sun, 28 Nov 2004 01:37:51 GMT, "Judy" <jr*******@notm yemail.com> wrote:My calendar looks like a calendar and works just like a calendar
allowingthe user to navigate to a selected year and month. For any selected
year andmonth, my calendar displays the courses scheduled for each day on the calendar.
"Chuck Grimsby" <c.*******@worl dnet.att.net.in valid> wrote in message news:l8******* *************** **********@4ax. com... On Sat, 27 Nov 2004 17:59:51 GMT, "Judy" <jr*******@notm yemail.com> wrote: >I am building a scheduling calendar form. To be readable, I made
the >calendar take up the entire form. So I am creating a custom menu
just for >that form to control the calendar.
Save yourself a *LOT* of trouble, and take a look at Steven's
Calendar demo: <http://www.lebans.com/monthcalendar.h tm>
-- A Wise Monkey Never Monkies With Another Monkey's Monkey. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jean |
last post by:
hi:
i am developing a custom combobox for my company's needs that is made
up of a textbox, listbox, button. i am using c#. everything is fine
except for one issue.
in a normal combobox, when the dropdown is visible and the user clicks
anywhere else, the dropdown gets hidden. i am trying to replicate
this behavior and have tried using the Leave and LostFocus events. i
have had marginal success when my dropdown is visible and i...
|
by: Ian Hinson |
last post by:
I have an Access app that has been distributed with run-time installation to
many different customers over many years.
It is developed in Access 2000. The custom menu bar has had no problems in
the past.
However on one new computer it was installed on last week the custom 'Tools'
menu (which normally contains items such as 'Backup Data' and
'Preferences..' etc) has been replaced by a single menu item under Tools
that says 'Other..'....
|
by: metamedia |
last post by:
How do I get a datagrid to register a data change from a custom control cell (combobox)
I've got a Windows Application with a Windows Form Datagrid that has a custom combobox column. When the user clicks on a new row in the datagrid and tries to select or enter a new value in the combobox, the datagrid doesn't seem to register the change, so if the user tabs through the columns and onto the next row, the data is cleared and not saved
Does...
|
by: ross kerr |
last post by:
Hi All,
I am extending the combobox to create a control that
selects an item based on the text the user is typing into
the text area of the control.
I have an issue that occurs only when i drop down the
combo box as the users typing.
When the on leave event is fired the value in the selected
|
by: Don |
last post by:
Is there any way to detect when an item has been added to the Items
collection of a combobox or listbox? I am inheriting a Combobox and want to
validate items before they are added to the combobox, but I can't find
anything that will let me do that.
- Don
| |
by: A.J. Pool |
last post by:
I have a form with a main menubar containing a number of menu options.
In the empty right half of the menubar I want to place a combobox where
users can make some sort of selection.
However, when I place a combobox on the form and move it to the menu area it
disappaears behind the menubar, instead of appearing in front of it.
How can I place the combobox on top of (or in front of) the menubar?
I use VB.NET 2003 standard edition.
--...
|
by: Don |
last post by:
I have a project wherein I derive a combobox and create a custom Populate()
method for it to fill it with objects of a custom class I also created in a
second project that the combobox project references. This custom class has
the ToString function overridden to display certain information.
Everything worked fine until one day the combobox started displaying
"AssemblyName.ClassName" (e.g. "MyProject.MyCustomClass") instead of the...
|
by: Wayne |
last post by:
I've been clicking around Access 2007 Beta 2 and can't see the custom
menu bar designer. Is it in the beta? Maybe I'm blind. The question
that comes to mind is: Will custom menu bars be the same height as they
were in previous versions or will they be the "ribbon" style that takes
up a huge portion of the screen?
Also when I use Access 2007 to open an Access 2003 database that has
custom menu bars they display as they did in Access...
|
by: Peter Larsen [CPH] |
last post by:
Hi,
How do i set DropDownWith in a asp.net ComboBox ??
Thank you in advance.
BR
Peter
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |