Results 1 to 18 of 18

Thread: Buttons With Arrows On Them

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    Connecticut, USA
    Posts
    308

    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?

  2. #2
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Yes... you can write "4" in the caption with the Webdings Font
    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.

  3. #3
    Fanatic Member
    Join Date
    May 2002
    Posts
    746

    or

    <, <<, >, >>

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    or

    VB Code:
    1. 'Usage:   Set Font To Wingdings
    2. 'Line Arrows
    3. Command1.Caption = Chr$(223) 'Left Arrow
    4. Command1.Caption = Chr$(224) 'Right Arrow
    5. Command1.Caption = Chr$(225) 'Up Arrow
    6. Command1.Caption = Chr$(226) 'Down Arrow
    7. Command1.Caption = Chr$(227) 'Up-Left Arrow
    8. Command1.Caption = Chr$(228) 'Up-Right Arrow
    9. Command1.Caption = Chr$(229) 'Down-Left Arrow
    10. Command1.Caption = Chr$(230) 'Down-Right Arrow
    11. 'Solid Arrows
    12. Command1.Caption = Chr$(231) 'Left Arrow
    13. Command1.Caption = Chr$(232) 'Right Arrow
    14. Command1.Caption = Chr$(233) 'Up Arrow
    15. Command1.Caption = Chr$(234) 'Down Arrow
    16. Command1.Caption = Chr$(235) 'Up-Left Arrow
    17. Command1.Caption = Chr$(236) 'Up-Right Arrow
    18. Command1.Caption = Chr$(237) 'Down-Left Arrow
    19. Command1.Caption = Chr$(238) 'Down-Right Arrow
    20. 'Outlined Arrows
    21. Command1.Caption = Chr$(239) 'Left Arrow
    22. Command1.Caption = Chr$(240) 'Right Arrow
    23. Command1.Caption = Chr$(241) 'Up Arrow
    24. Command1.Caption = Chr$(242) 'Down Arrow
    25. Command1.Caption = Chr$(245) 'Up-Left Arrow [note the gap here]
    26. Command1.Caption = Chr$(246) 'Up-Right Arrow
    27. Command1.Caption = Chr$(247) 'Down-Left Arrow
    28. Command1.Caption = Chr$(248) 'Down-Right Arrow

  5. #5
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808

    Re: or

    Originally posted by Hack
    VB Code:
    1. 'Usage:   Set Font To Wingdings
    2. 'Line Arrows
    3. Command1.Caption = Chr$(223) 'Left Arrow
    4. Command1.Caption = Chr$(224) 'Right Arrow
    5. Command1.Caption = Chr$(225) 'Up Arrow
    6. Command1.Caption = Chr$(226) 'Down Arrow
    7. Command1.Caption = Chr$(227) 'Up-Left Arrow
    8. Command1.Caption = Chr$(228) 'Up-Right Arrow
    9. Command1.Caption = Chr$(229) 'Down-Left Arrow
    10. Command1.Caption = Chr$(230) 'Down-Right Arrow
    11. 'Solid Arrows
    12. Command1.Caption = Chr$(231) 'Left Arrow
    13. Command1.Caption = Chr$(232) 'Right Arrow
    14. Command1.Caption = Chr$(233) 'Up Arrow
    15. Command1.Caption = Chr$(234) 'Down Arrow
    16. Command1.Caption = Chr$(235) 'Up-Left Arrow
    17. Command1.Caption = Chr$(236) 'Up-Right Arrow
    18. Command1.Caption = Chr$(237) 'Down-Left Arrow
    19. Command1.Caption = Chr$(238) 'Down-Right Arrow
    20. 'Outlined Arrows
    21. Command1.Caption = Chr$(239) 'Left Arrow
    22. Command1.Caption = Chr$(240) 'Right Arrow
    23. Command1.Caption = Chr$(241) 'Up Arrow
    24. Command1.Caption = Chr$(242) 'Down Arrow
    25. Command1.Caption = Chr$(245) 'Up-Left Arrow [note the gap here]
    26. Command1.Caption = Chr$(246) 'Up-Right Arrow
    27. Command1.Caption = Chr$(247) 'Down-Left Arrow
    28. 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.

  6. #6
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    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

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    It all works just fine for me on both Win98 and Win2000 (English)

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    Connecticut, USA
    Posts
    308
    It works fine for me too Hack, thanks.

  9. #9
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    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.

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    For everyone reading this thread: Use whatever works for you. We here at VB Forums are all about options!

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    Connecticut, USA
    Posts
    308
    Whats the difference between McBrain's WebDings and Hack's WingDings?

    They both look the same to me (at least on my PC)

  12. #12
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    It doesn't on mine.
    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.

  13. #13
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Originally posted by Mc Brain
    It doesn't on mine.
    Ok... I have a question now!! Why is it that if a write Alt+223 I get a character, and if I code it (with the Chr functio) I get another??
    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.

  14. #14
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    They both use a different set of keys.

  15. #15
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    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.

  16. #16
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    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"

  17. #17
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Originally posted by Megatron
    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"
    That's not fair!!

    As far as I can remember... they were the same in the old times of DOS.
    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.

  18. #18
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    LOL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width