Solved

Font size and Color

Posted on 1998-11-04
2
215 Views
Last Modified: 2013-12-03
I am trying to make a program that copies the exact text size and the exact text color from one textbox to anougher textbox (via keystroke). Sort of like a source and destination program. The text copies fine, except when the
second textbox receives the text the font size and color
are set in the second textbox default settings. Is there a
way to send exact text size and color from one text box to
anougher one?
0
Comment
Question by:poorboy
2 Comments
 
LVL 2

Accepted Solution

by:
schild earned 50 total points
ID: 1443260
here the code you needed to:


    Text1.Text = Text2.Text
    Text1.ForeColor = Text2.ForeColor
    Text1.FontSize = Text2.FontSize
 
0
 

Author Comment

by:poorboy
ID: 1443261
You dont understand what i am saying. Using this sentence( All tree FROGS are green.)
If i made the word FROGS ( BOLD ) and changed  the Forecolor of the word green to
GREEN, how could i get the exact same thing into the other text box? Remember! This
is like a source and destination program, so the contents of one textbox will be sent to
the other textbox via keystroke.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ms access #TYPE! error on report when no data 4 75
SLMGR Switches Are Not Working On KMS Host 3 90
clicking a shape in a frame array vb6 3 45
Child Form in front 4 46
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question