By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,192 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

Appending to the Clipboard

P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?

Thanks in advance,

Gary

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQAiF8T8KnwrkurVSEQLengCbB9TNzjdWlOrBtYyO3B7kTE HAeIgAn1Pq
IDq+RHVvnrJ+kVM3sawpLm2h
=fHPr
-----END PGP SIGNATURE-----
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Cor
Hi Gary,

Sorry, but what do you mean with append?

Cor
I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?

Nov 20 '05 #2

P: n/a
* "Didymus" <di************@hotmail.com> scripsit:
I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?


What does this have to do with the clipboard?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

P: n/a
Hello Gary
To simply append the displayed value of a combo box to the existing text in
the RichTextbox use the Append method

Me.RichTextBox1.AppendText(ComboBox1.SelectedItem)

If your needs are other than this, then please explain better.
--
Ibrahim Malluf
http://www.malluf.com
==============================================
MCS Data Services Code Generator
http://64.78.34.175/mcsnet/DSCG/Announcement.aspx
==============================================
Pocket PC Return On Investment Calculator
Free Download http://64.78.34.175/mcsnet/kwickKalk1.aspx
"Didymus" <di************@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have the following:

cmbBook
cmbChapter
cmbVerse
rtbText

When I fill rtbText, (according to the selections made in the
ComboBoxes), how can I append cmbBook.Text, cmbChapter.Text, and
cmbVerse.Text after rtbText is filled with the appropriate text?

Thanks in advance,

Gary

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQAiF8T8KnwrkurVSEQLengCbB9TNzjdWlOrBtYyO3B7kTE HAeIgAn1Pq
IDq+RHVvnrJ+kVM3sawpLm2h
=fHPr
-----END PGP SIGNATURE-----

Nov 20 '05 #4

P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks Guys,

I was just thinking that I could add to the end of the text selected
in rtbText, the book title from cmbBook, the chapter number from
cmbChapter, and the verse number from cmbVerse... when the Copy
command was clicked to copy to the Clipboard.

Maybe it would be better to have the Copy procedure concatenate the
string values into a variable and then copy the variable to the
Clipboard?!

Thanks again,

Gary

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQAnijj8KnwrkurVSEQJ7UwCdFAAiF8Oyl75yUJLeOJesHz exmA4An0ko
nHf21HbAneVE+oOiyLxL11UU
=Cby8
-----END PGP SIGNATURE-----
Nov 20 '05 #5

P: n/a
Cor
Hi Gary,

Why not 3 small buttons or use a clickevent from the combobox?

me.textbox1.text = me.textbox1.text & me.comboboxN.text

Cor
I was just thinking that I could add to the end of the text selected
in rtbText, the book title from cmbBook, the chapter number from
cmbChapter, and the verse number from cmbVerse... when the Copy
command was clicked to copy to the Clipboard.

Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.