Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2007

Tip: Looking for answers? Try searching our database.

Using Special Characters for Command Button Caption

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Keith - 18 May 2007 14:33 GMT
I would like to be able to use special characters (i.e. ASCII 138) in the
caption property of a command button.  I tried setting the caption property
in the the porperties sheet of the button to

=chr(138)

but the button shows the literal string "=chr(138)".

Is there a way to do this within the properties sheet, or will I have to set
the value of buttons requiring this in code using the on load event?  I am
trying to avoid using code because:

A.  I will be producing a lot of these buttons and will possibly need to add
buttons as we move along.  Updates could get confusing.

B.  I'm lazy!

Thanks in advance for any insight or guidance,

Keith
stumac - 18 May 2007 15:23 GMT
I find just copying and pasting the actual character into the caption box
often works, in your case: Š

This has worked for me in a few instances however I dare say there is
characters where it wont work.

Hth
Good Luck

Stu

> I would like to be able to use special characters (i.e. ASCII 138) in the
> caption property of a command button.  I tried setting the caption property
[quoted text clipped - 16 lines]
>
> Keith
Keith - 18 May 2007 16:03 GMT
Stu,

Thanks for the reply and suggestion.  I have decided to set the caption
values in code because of the the fact that I will have quite a few command
buttons to deal with.  Your idea may be useful to me in the future, however,
when I only have one or two buttons to deal with.

Thanks again,

Keith

> I find just copying and pasting the actual character into the caption box
> often works, in your case: Š
[quoted text clipped - 27 lines]
> >
> > Keith
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.