Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 8th, 2006, 11:20 AM   #1
13EN
Newbie
 
13EN's Avatar
 
Join Date: Nov 2005
Posts: 13
Rep Power: 0 13EN is on a distinguished road
how do you put a caption into a label when clicked?

how do you put a caption into a label when clicked? i want to make a programme that:

When you click a command button the caption will go into a text box how do i do that? please help me
13EN is offline   Reply With Quote
Old Jun 8th, 2006, 1:41 PM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
textbox1.text = label1.caption

Put that under the command button click event. Chnage control names where nessacary.
Booooze is offline   Reply With Quote
Old Jun 8th, 2006, 3:26 PM   #3
13EN
Newbie
 
13EN's Avatar
 
Join Date: Nov 2005
Posts: 13
Rep Power: 0 13EN is on a distinguished road
thank you very much
13EN is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:16 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC