Solved

properties of mouse marks

Posted on 1998-07-28
1
138 Views
Last Modified: 2010-05-03
i would like to change one of a text box or other text control properties

for example : if my text box contain the line : eeeee ggggg sdfdfdf eyal web
i would like to bold the 'eyal' that is marked now by the mouse - i dont want to change the property to the all line
but only to the word that was marked by the mouse (like copy and paste does)
0
Comment
Question by:Brown072898
1 Comment
 
LVL 2

Accepted Solution

by:
swilt earned 50 total points
ID: 1466908
Use a Rich Text Box ( RichTextBox1) on a form with a button (Command1)


Option Explicit

Private Sub Command1_Click()
    RichTextBox1.SelBold = True
End Sub

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now