home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Contents of one text box displayed in the other

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2522
Discussions: 200,962, Posts: 2,379,567, Members: 246,330
Old October 10th, 2002, 08:11 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Sep 2002
Location: Shirley, New York
Posts: 257
Send a message via AIM to Paluccie
Contents of one text box displayed in the other

Ok here is my quetion.

The form contains two text boxes into which the user types information. When the user clicks on one of the text boxes, it becomes blank and its contents are displayed in the other text box.


If anyone knows how to do this, please get back to me asap. Thanks
Paluccie is offline   Reply With Quote
Old October 10th, 2002, 09:39 PM     #2 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,392
this is what you WANT to happen or what is happening and you want to get rid of it?

What language are you we speaking?
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is online now   Reply With Quote
Old October 10th, 2002, 10:16 PM     #3 (permalink)
Junior Member
 
Join Date: Jan 2002
Location: western Kentucky
Posts: 24
Send a message via Yahoo to moonwork
would an "if" statement work????

If cell x = "null" then leave it alone... if it not equal to "null", then copy the data into the next box and erase the first box.

don't know how to write it... I get my boss to help me when I want "if" and he walks me through them
moonwork is offline   Reply With Quote
Old October 10th, 2002, 10:31 PM     #4 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,392
if its a textbox it never equals null, its just "" empty string.

If its vb then you just do it on a click event

private sub text1_Click
text2.text = text1.text
text1.text = ""
End Sub
vass0922 is online now   Reply With Quote
Old October 10th, 2002, 10:41 PM     #5 (permalink)
Member
 
Join Date: Sep 2002
Location: Shirley, New York
Posts: 257
Send a message via AIM to Paluccie
thanks everything is cool
Paluccie is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2981)
The disrespect of Obama by Russian .. (46)
Making Health Care Worse (181)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
windows 7 problem (7)
Laptop with wireless problem. (6)
windows vista security holes (13)
Is the PSU I received dead? (13)
Print spooler problem (16)
Point and Shoot Camera Suggestions. (5)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Recent Discussions
Laptop with wireless problem. (6)
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Point and Shoot Camera Suggestions. (5)
Is the PSU I received dead? (13)
Print spooler problem (16)
windows vista security holes (13)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
Open With ..... Win7 (1)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)


All times are GMT -4. The time now is 11:54 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28