|
-
Sep 20th, 2002, 11:37 AM
#1
Thread Starter
Hyperactive Member
Buttons With Arrows On Them
Without actually using a bitmap or any other kind of image, isn't it possible to put an arrow picture on a command button?
-
Sep 20th, 2002, 11:48 AM
#2
-
Sep 20th, 2002, 11:48 AM
#3
Fanatic Member
-
Sep 20th, 2002, 11:53 AM
#4
or
VB Code:
'Usage: Set Font To Wingdings
'Line Arrows
Command1.Caption = Chr$(223) 'Left Arrow
Command1.Caption = Chr$(224) 'Right Arrow
Command1.Caption = Chr$(225) 'Up Arrow
Command1.Caption = Chr$(226) 'Down Arrow
Command1.Caption = Chr$(227) 'Up-Left Arrow
Command1.Caption = Chr$(228) 'Up-Right Arrow
Command1.Caption = Chr$(229) 'Down-Left Arrow
Command1.Caption = Chr$(230) 'Down-Right Arrow
'Solid Arrows
Command1.Caption = Chr$(231) 'Left Arrow
Command1.Caption = Chr$(232) 'Right Arrow
Command1.Caption = Chr$(233) 'Up Arrow
Command1.Caption = Chr$(234) 'Down Arrow
Command1.Caption = Chr$(235) 'Up-Left Arrow
Command1.Caption = Chr$(236) 'Up-Right Arrow
Command1.Caption = Chr$(237) 'Down-Left Arrow
Command1.Caption = Chr$(238) 'Down-Right Arrow
'Outlined Arrows
Command1.Caption = Chr$(239) 'Left Arrow
Command1.Caption = Chr$(240) 'Right Arrow
Command1.Caption = Chr$(241) 'Up Arrow
Command1.Caption = Chr$(242) 'Down Arrow
Command1.Caption = Chr$(245) 'Up-Left Arrow [note the gap here]
Command1.Caption = Chr$(246) 'Up-Right Arrow
Command1.Caption = Chr$(247) 'Down-Left Arrow
Command1.Caption = Chr$(248) 'Down-Right Arrow
-
Sep 20th, 2002, 11:56 AM
#5
Need-a-life Member
Re: or
Originally posted by Hack
VB Code:
'Usage: Set Font To Wingdings
'Line Arrows
Command1.Caption = Chr$(223) 'Left Arrow
Command1.Caption = Chr$(224) 'Right Arrow
Command1.Caption = Chr$(225) 'Up Arrow
Command1.Caption = Chr$(226) 'Down Arrow
Command1.Caption = Chr$(227) 'Up-Left Arrow
Command1.Caption = Chr$(228) 'Up-Right Arrow
Command1.Caption = Chr$(229) 'Down-Left Arrow
Command1.Caption = Chr$(230) 'Down-Right Arrow
'Solid Arrows
Command1.Caption = Chr$(231) 'Left Arrow
Command1.Caption = Chr$(232) 'Right Arrow
Command1.Caption = Chr$(233) 'Up Arrow
Command1.Caption = Chr$(234) 'Down Arrow
Command1.Caption = Chr$(235) 'Up-Left Arrow
Command1.Caption = Chr$(236) 'Up-Right Arrow
Command1.Caption = Chr$(237) 'Down-Left Arrow
Command1.Caption = Chr$(238) 'Down-Right Arrow
'Outlined Arrows
Command1.Caption = Chr$(239) 'Left Arrow
Command1.Caption = Chr$(240) 'Right Arrow
Command1.Caption = Chr$(241) 'Up Arrow
Command1.Caption = Chr$(242) 'Down Arrow
Command1.Caption = Chr$(245) 'Up-Left Arrow [note the gap here]
Command1.Caption = Chr$(246) 'Up-Right Arrow
Command1.Caption = Chr$(247) 'Down-Left Arrow
Command1.Caption = Chr$(248) 'Down-Right Arrow
That won't work that well... it doesn't on mine, for example. Probably because I have a Spanish version of Windows.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Sep 20th, 2002, 12:03 PM
#6
PowerPoster
You need to set forn fist:
Command1.Font.Name = "Wingdings 3"
Command1.Font.Size = 20
Command1.Font.Bold = True
Command1.Caption = Chr(102) 'left arrow
'Command1.Caption = Chr(103) 'left arrow
'Command1.Caption = Chr(104) 'up arrow
'Command1.Caption = Chr(105) 'down arrow
-
Sep 20th, 2002, 12:27 PM
#7
It all works just fine for me on both Win98 and Win2000 (English)
-
Sep 20th, 2002, 12:27 PM
#8
Thread Starter
Hyperactive Member
It works fine for me too Hack, thanks.
-
Sep 20th, 2002, 12:36 PM
#9
Need-a-life Member
Originally posted by Hack
It all works just fine for me on both Win98 and Win2000 (English)
It didn't in mine. Maybe the best idea would be use "Webdings" like I proposed if it worked everywhere.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Sep 20th, 2002, 12:38 PM
#10
For everyone reading this thread: Use whatever works for you. We here at VB Forums are all about options!
-
Sep 20th, 2002, 12:41 PM
#11
Thread Starter
Hyperactive Member
Whats the difference between McBrain's WebDings and Hack's WingDings?
They both look the same to me (at least on my PC)
-
Sep 20th, 2002, 12:44 PM
#12
-
Sep 20th, 2002, 12:46 PM
#13
-
Sep 20th, 2002, 03:16 PM
#14
Software Eng.
They both use a different set of keys.
-
Sep 20th, 2002, 03:21 PM
#15
Need-a-life Member
Originally posted by Megatron
They both use a different set of keys.
What do you mean?
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Sep 20th, 2002, 03:25 PM
#16
Software Eng.
The values for the Chr() function can be found by looking at the ASCII chart.
The values for using Alt+keys can be found in "character map"
-
Sep 20th, 2002, 03:32 PM
#17
-
Sep 20th, 2002, 03:34 PM
#18
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|