Appending to the Clipboard

  • Thread starter Thread starter Didymus
  • Start date Start date
D

Didymus

-----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/AwUBQAiF8T8KnwrkurVSEQLengCbB9TNzjdWlOrBtYyO3B7kTEHAeIgAn1Pq
IDq+RHVvnrJ+kVM3sawpLm2h
=fHPr
-----END PGP SIGNATURE-----
 
* "Didymus said:
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?
 
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
 
-----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/AwUBQAnijj8KnwrkurVSEQJ7UwCdFAAiF8Oyl75yUJLeOJesHzexmA4An0ko
nHf21HbAneVE+oOiyLxL11UU
=Cby8
-----END PGP SIGNATURE-----
 
Hi Gary,

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

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

Cor
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cor,

Thanks!

That is what I was thinking of doing.

My little program works great, (with thanks to you and Herfried). I
am just trying to add some extra functions for the user to use.

Gary

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

iQA/AwUBQArByj8KnwrkurVSEQKDGACeMiy/gLChq6TH3ld5qb3TW+KtXPgAoITQ
83jFeUhFalQN8vKrNLujDn7J
=yVSW
-----END PGP SIGNATURE-----
 
Back
Top