[Help] How do i change the appearance of a button menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Anthonyrox8's Avatar Banned
    Reputation
    34
    Join Date
    Aug 2007
    Posts
    296
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] How do i change the appearance of a button

    How do u change the appearance of a button to like Vista styled or xp because when im on my program in Visual basic 2008 it looks like a vista button but as soon as u start it it turns into Windows 98 button. And how do you change it from a normal looking button into a custom one.

    [Help] How do i change the appearance of a button
  2. #2
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Button1.FlatStyle = FlatStyle.Standard

    That'll make the button match whatever theme the user has.

    To make it 'custom' you have two choices, either create a new control that inherits from the Button control, or just use a foreground/background image.

    Or you can override the OnPaint method, and do you're own custom drawing there.

    Easiest by far is just a few images.

  3. #3
    Anthonyrox8's Avatar Banned
    Reputation
    34
    Join Date
    Aug 2007
    Posts
    296
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ty for fast response 2+ btw where would i put this code?

  4. #4
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look in the properties list for the button.

  5. #5
    OMGPanic!'s Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank god .net made it easier than vb6 :P
    Moved house and now have limited internet access. Cant work till its back. STRESSED.

Similar Threads

  1. [Question] How do you change the ground?
    By 1337person in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 03-01-2008, 07:33 AM
  2. How do i change the way a weapon is sheathed?
    By astralis in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 01-08-2008, 02:25 AM
  3. [question] how do i change the colour of character names?
    By ridders in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 11-05-2007, 02:43 PM
  4. is it possible, with pets to change the appearance?
    By weaselking1973 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 10-22-2007, 05:52 PM
  5. Replies: 3
    Last Post: 08-17-2007, 08:32 AM
All times are GMT -5. The time now is 07:20 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search