473,395 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to insert up and down arrows in label

Seth Schrock
2,965 Expert 2GB
I'm trying to insert up and down arrows at the end of my label's caption to tell me the sort order of a field. My problem is that I can't figure out for sure what charcode I need to insert the characters. I found a list of ASCII characters on the MSDN website and 30 and 31 are exactly what I'm looking for. However, when I try to concatenate those characters to my caption, nothing changes. Here is what I'm trying just for test purposes:
Expand|Select|Wrap|Line Numbers
  1. Me.Label35.Caption = "Text34" & Chr(30)
Mar 1 '13 #1

✓ answered by Rabbit

I suppose you could use the caret, the shift+6 for up. And a v for down. Or you could put an image next to the label and change that.

7 8480
Rabbit
12,516 Expert Mod 8TB
I'm not sure where you're getting your ascii values but 30 and 31 are not up and down arrows.
Mar 1 '13 #2
Seth Schrock
2,965 Expert 2GB
Here is the website: ASCII Character Codes Chart 1. The symbols for 30 & 31 are what I'm wanting. I could be misinterpreting what those symbols are meaning.
Mar 1 '13 #3
Rabbit
12,516 Expert Mod 8TB
That is what you will see in an MS-DOS application, not in Access.
Mar 1 '13 #4
Seth Schrock
2,965 Expert 2GB
Oh. Is there a list of the possible Access charcodes or is there another way to get an up and down arrow on the end of my string? It could be the reverse of the exponent sign (shift + 6), a true arrow, etc. Anything that would point up and down.
Mar 1 '13 #5
Rabbit
12,516 Expert Mod 8TB
I suppose you could use the caret, the shift+6 for up. And a v for down. Or you could put an image next to the label and change that.
Mar 1 '13 #6
Seth Schrock
2,965 Expert 2GB
I could do that. I hadn't thought of using an image. I can just make it invisible when it isn't being used in the sort and then just change the picture for if the sort is ascending or descending. Thanks Rabbit.
Mar 1 '13 #7
Rabbit
12,516 Expert Mod 8TB
Sure thing.
Mar 1 '13 #8

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

Similar topics

4
by: Jerald | last post by:
Hi. I've just installed 2.3.4 from the source on a linux box. In the interactive mode, up/down arrows do not work. When I press 'up' python prints '^[[A' and down gives '^[[B' What is wrong? ...
4
by: Dan | last post by:
Can anyone offer suggestions on how to do this or if it is possible? I have a form that uses a drop down box and 2 text fields. What I am trying to do is have the value of each text box set by...
1
by: Richard Coutts | last post by:
I have a Continous Form with 5 or so fields for each record, in a line from left to right. Because the Contuous Form lists several records at once, the form looks pretty much like a Datasheet. ...
3
by: Jim | last post by:
I have recently looked at somebody else's access report for printing labels. I don't understand how it manages to shuffle data about to format the labels correctly. Any ideas would be appreciated....
3
by: Neil | last post by:
Just created a menu bar, and each of the top-level items (File, Edit, View, etc.) have little down-pointing arrowheads next to them. Can't get rid of them. Created menu bars before and they didn't...
0
by: Bamse | last post by:
Hello! is there a way to enable individual arrows in DomainUpDown Control? i want to disable up/down arrows when the current item in the control reaches certain value. Thank you, Daniel
0
by: Jim H | last post by:
I'm trying to use an owner draw ListBox by subscribing to the DrawItem event to draw my custom control as an item in the ListBox. This event is triggered when I drag the scroll button but NOT when...
10
by: Bob | last post by:
Hello: I'm tring to make the down arrow act as a tab key and the up arrow act as like (-TAB.). I have this for the down arrow but nothing happens. Protected Overrides Function...
0
by: Indrani | last post by:
Hi Iam working with windows mobile application(Emulator Pocket PC2003). I want to we give scrollbars for a label. Is it possible? Because when some text is loaded into a label, and is extended to...
1
by: JJ | last post by:
With all the skinning possibilities of asp.net 2.0 I am surprised that I cannot (easily) change the colour of a controls scrollbars/border or a dropdownlist's arrow. I realise that I may have to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.