A Useful Color Picker
Apr 6, 2006After Searching the Web, I couldn't find anything that did something as simple as this, choose a color....
So here is one!
Waste not, want not....please feel free to use it!
After Searching the Web, I couldn't find anything that did something as simple as this, choose a color....
So here is one!
Waste not, want not....please feel free to use it!
I am currently in the process of creating a pop-up menu to allow my users to do some simple text formatting.I have used the following code to do so:
Code:
Dim cmbShortcutMenu As Office.CommandBar
' Create the new pop-up menu instance
Set cmbShortcutMenu = CommandBars.Add("popupFormatMenu", msoBarPopup, False, True)
' Add the bold button
[code]....
The problem is that I now want to add the FontColor picker control and I keep getting an error.I think the problem lies in the type of control I want to add. According to the Microsoft support files I downloaded the fontColor control is of type Gallery and ID = 11949, so the code should look something like this:
Code:
cmbShortcutMenu.Controls.Add Type:=msoControlButton, id:=11949
I need to replace msoControlButton with something else.
Im using a colour picker to change the colour of a text box on click. I need to store the colour in the text box. At the moment it changes the colour of the text box in every record. How can I overcome this? Thanks!
View 2 Replies View RelatedI've been trying to get a datepicker working in Access, unfortunately Access doesn't really seem to support it very well. I suppose I could make my own if I had to.
I miss VB.NET. VB.NET had built in date functions that allowed you to do a lot of things with dates. VB 6.0 has hardly any such functionality.
What I'd like to do though, is to be able to figure out which day of the week any given date is on. I don't want to write code like that myself, it feels like it would be too much work. Does anyone know of any code that would help out with a solution like this?
I want to let the user to select the date and time by showing a control/screen fot this. I used the MS access control: Microsoft Date and Time Picker Control 6.0. however, this doesnt show the date properly.
Is there any Fully Free software that I can use to show a screen to allow the user to pick the date and time?
Thanks,
Hi
I'm using the activeX control Date and Time Picker which work fine. I'm having trouble though to set the MaxDate and MinDate from VBA.
For instance me.DateTimepicker12.MaxDate="01.01.2008" returns an error 'Invalid date......'.
I have tried many different formats for the date, but not the right one.
Is there someone who can shed some light on this?
Thanks in advance
I must be missing something obvious.
It would be nice to have a date picker, to reduce input errors.
I'm trying to get a combo box datepicker to work from a popup form. I've looked at fontstuff's version (http://www.fontstuff.com/access/acctut13a.htm), but it has the date on the main form (as do the examples I've found using search).
I have to run two queries to get the data I need, and the best way is to have them called at the same time from a macro - hence the popup form. If I use a text box txt_Date formatted as a date box forms![GetDate]![txt_Date] works fine. How do I get the variabe txt_Date to accept the results of the three combo boxes as a single date value?
Here is what i need help with i have the basic lay out but i just need someone to help me figure out the rest of this. Attached is a sample database with what i am trying to do. if someone would be so kind to help me figure this out that would be great.
thanks
chad
in access xp, there was a handy active x DTP. it doesn't seem to be available in access 2003. is calendar control 11 there only option here?? it really isn't as convenient as the DTP. maybe there's a way I can make the calendar control operate in a similar way to the DTP?? or maybe there is a DTP but its called another name in the active x list.
any ideas are appreciated.
Well this is bizzare,
I am using the microsoft date picker in my form. I have made it non editable (i.e. editable=false) when the form loads.
I am making it editable on the click of a button... Seems all so simple huh..
But my problem is that when I click the button, the date picker is displaced at the top of the form..
when I move the slide bar of the form, it again comes back to its original position..
Can anyone explain this?? and how to make it simple?
Hi
I am using the Date Time Picker in MS Access. When I transfer my database to another computer the control shows as a blank white box. I have already done
regsvr32 to register the relevant ocx and ticked the Microsoft Windows Common Controls -2 6.0 (SP6) in the reference box. Is there any other way to repair
this control without having to reinstall the whole thing.
Thanks - Rob
Hi All,
I know there are several examples of calendar date and time pickers about so I thought I would offer mine up for critique.
No modules, very little code, code used is simple and can be called from subforms as well as forms.
I used these forms in an application where the users find filling in date and times in the correct format difficult with limited keyboard skills.
If it can be improved let me know..... :)
Garry
PS I think the contributions Banana has been making to this forum are invaluable.
Keep up the good work.
How do I change the ms date/time picker control 6 to have a default null
value?
Hi All,
Is it possible to change the format of a date picker, for instance once i have selected a date, its is visible as 09/11/2006, can this be edited to just the month and the year 11/2006.
I have a form with a date picker control. I am not able to set the default value of the picker to the current date. For example say If I set the default value to "Today", i.e 11 Oct, Even tomorrow it will retain the same value "11 Oct" and not "12 Oct". Is there any way that I can set the default value to current date?
View 3 Replies View RelatedHello,
I solved my last problem by not using the ActiveX date picker. Now the date picker which I am using is really good.
But my new problem is that my date picker has a format of dd/mm/yyyyy. Also the format in my database is the same. But when I try to store to store the date value through the querry, the format stored in the database is mm/dd/yyyy. I dont understand this cos I checked the the date picker passes the correct format. I am totally confused!!! (as always)
Does anyone know how to store the correct format in the database..?? This is my querry
strSQL = "INSERT INTO projet (id,code_NOP,client,libelle_projet,id_clarity,tech nologie_projet,em,date_debut,date_fin,site_mandata ire,charge_totale,ca_total_vendu) values('" & txt_id.Value & "','" & txt_code_NOP.Value & "','" & txt_client.Value & "','" & txt_libelle_projet.Value & "','" & txt_id_clarity.Value & "','" & txt_technologie_projet.Value & "','" & txt_em.Value & "',#" & Format(txt_date_debut.Value, "dd/mm/yyyy") & "#,#" & Format(txt_date_fin.Value, "dd/mm/yyyy") & "#,'" & txt_site_mandataire.Value & "'," & txt_charge_totale.Value & "," & txt_ca_total_vendu.Value & ");"
I am operating in MS Access 2007 and unfortunately have to stick with the "out of the box" controls. I have data entries of notes in my database for "most workdays" - but not holidays or weekends. I want to allow the user to be able to edit notes for "most workdays" - but not let them pick a day to edit that doesn't have notes - by selecting them from a calendar date picker. Essentially, I want to gray-out/lock the non-workdays from editing.Is there a smart enough Active X or other control as a Date Picker that uses the results of a query to show valid/invalid dates?
View 2 Replies View RelatedIs it possible to have a pop-up from a textbox that has a calendar picker.
i.e. if you have a textbox formatted as a date field that has a calendar picker, that pops up every time you click in the box.
I would like a pop up to appear next to the date picker to say please ensure you do not select dates that fall on a public holiday!
I have a form (Access 2007) that requires user to enter a date.
Using the standard date field (short date format) with the date picker works fine however some users prefer to enter the date via the keyboard (some prefer the date picker).
If I set an input mask (to facilitate keyboard entry) for the text box then the date picker disappears.
Is there any way to apply the date picker and the input mask to the control to accommodate all users?
I can make the DATE picker work, but I need to add the TIME to the same picker. At least that would be preferred.
View 6 Replies View RelatedI've got the data type set to Time/Date and the Properties of the date picker set to, 'Yes, for Dates' but it still doesn't appear in my table column.
How do you add it to a form? (Access 2007)
I changed this text box format to General Date but I do not have the date picker icon when I click on the text box. I also noticed that for this text box in the property sheet, it does not even have the date picker option listed. I am trying to do this in a report header.
View 3 Replies View RelatedI have a parameter query that requires the user to input a start date and end date into dialog boxes generated by the query. My question is: it possible to have a date picker control actually on the dialog boxes when they show for a date to be entered, or is this only possible when using a form with text boxes to generate the dates for start and end dates?
View 2 Replies View RelatedHi all
This isn't the standard problem with DTPickers & Tab to which I've found lots of references!
I have a form with a Tab control, each page of which has a subform on it. There are several MS Date & Time Picker (6.0) controls on each tab. My problem is this: whenever you change tab when one of these DTPickers has the focus, you then can't type text (into a text or combo box, for instance) on the new tab until you have been into and out of another DTPicker control! (The KeyPress etc events do get triggered though). Once you've selected a DTPicker, you can then select another control and type text in OK.
The forms/controls aren't bound if that's relevant. It may be that the problem is caused by moving between subforms rather than between tabs.
Has anyone else had trouble with this? Is it a bug or expected behaviour (though I can't see why it would be)?
And most importantly, how can I get around it? Hope someone can help.
Dave
I've been updating the look of some of my db's and am trying to access the new style colour picker per Office 2007/10.
Up to now I have been using
Private Declare Function ChooseColorAPI Lib "comdlg32.dll" Alias "ChooseColorA" (pCHOOSECOLOR As ChooseColor) As Long
which displays the pre 2007 style.
I've looked all over the web but cannot find anything relating to the current style (other than using it from the ribbon or control properties), so not sure if I should be looking for a different function or a change to the ChooseColor type values.
All db's are running 32bit access and at the moment 32bit OS but will no doubt have OS upgrades to 64bit soon.
disable the data picker for every field on every form in my application - without doing it the long winded way of manually turning it off for every field?
View 2 Replies View Related