Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

[VB] changing text with button


  • Please log in to reply

#1
thechezman14

thechezman14

    Member

  • Member
  • PipPip
  • 10 posts
Hey all plz :tazz: me, i need to make it do that if i press a command button it adds A to text1, help whould really help, lol
EDIT: I am using vb 6.0

Edited by thechezman14, 30 October 2005 - 08:58 PM.

  • 0

Advertisements


#2
darth_ash

darth_ash

    Member 1K

  • Member
  • PipPipPipPip
  • 1,382 posts
Hi thechezman14,
Add the following line of code to the click event of the command-button:
text1.text = text1.text + "A"
This will add(concat) the contents of the text-box with A
  • 0

#3
thechezman14

thechezman14

    Member

  • Topic Starter
  • Member
  • PipPip
  • 10 posts
of course, y didnt i think of that, thx man
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP