Solved

Font size and Color

Posted on 1998-11-04
2
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

617 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