Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 05:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Button name

Discussion on Button name within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
PraDevil[ELITE]'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,486
Received Thanks: 919
Question Button name

hey guys, just now im trying to learn the basic thing using VB 2008..search over the google but its seem i didnt get an answer for this..what i must do to set the button name automatically when the application start? i'll just try to use this code:
Code:
Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Button1.Name = "TEST BUTTON"
    End Sub
End Class
but when i run the application its just stay on the default button name, btw i have trying to set the button caption to blank then run the application again and again but its seem like its not working at all..any ideas ?

edit:
#solve - i just change "Button1.Name" to "Button1.Text" and its working lol
PraDevil[ELITE] is offline  
Old 12/18/2011, 18:58   #2
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736
this is the c/c++ section, not vb.
Dr. Coxxy is offline  
Thanks
1 User
Old 12/18/2011, 19:02   #3
 
PraDevil[ELITE]'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,486
Received Thanks: 919
my mistake..sorry, please move to the correct section mod..
PraDevil[ELITE] is offline  
Old 12/18/2011, 19:10   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,137
Received Thanks: 573
The button name is set by the editor and shouldnt be renamed, maybe you mean the button text?
warfley is offline  
Old 12/18/2011, 19:35   #5
 
PraDevil[ELITE]'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,486
Received Thanks: 919
yes, its the buton text, btw just now i am trying to load the text from ini files and searching on the internet
PraDevil[ELITE] is offline  
Old 12/19/2011, 00:10   #6
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Quote:
Originally Posted by PraDevil[ELITE] View Post
yes, its the buton text, btw just now i am trying to load the text from ini files and searching on the internet
StreamReader.
MoepMeep is offline  
Reply


Similar Threads Similar Threads
Item-Shop Lager Button Zum Normalen lager button machen? DE
01/12/2011 - Metin2 - 6 Replies
Moin, seid heute gib es ja im inventar den IS button wo man mit sein lager öffnen kann,könnte man den auch zu einem Normalen lager Button Machen?
WarRock statt KOREANISCHE BUTTON --> Englische BUTTON
02/26/2010 - WarRock - 6 Replies
Bin mir nicht sicher ob es diesen Thread schon gibt aber hab bis jetzt nichts gesehen hier. Funktionen Für WarRock Korea Koreanische Schriften (Button) weg und englische Schriften (Button) hin Anleitung
Why i cant see my Add-On Button
09/06/2008 - World of Warcraft - 2 Replies
I cant see it. When i log on with my Acc i cant see it i know where it is but... Sorry for my English it isnt perfect :S



All times are GMT +1. The time now is 05:10.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.