Link to home
Start Free TrialLog in
Avatar of Karl66
Karl66

asked on

C# Displaying text in a panel? cut and paste?

I have a simple application that has some buttons and a "panel". When the buttons are pressed I want to change (pste) some text into the panel that the user could then cut and paste out. IS a pnel the right thing to use and if so how do I display my strings in the panel.

I tried panel1.setText("Test")

No work. Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Priest04
Priest04
Flag of Serbia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You have to be more specific - is it a web or windows application?

Nevertheless for either web or windows, Panel is a container control, your'e supposed to drop controls on it. It even doesn't even have Text or SetText properties.

As a message display you can use Label or TextBox controls.

Cheers,
Yurich