Solved

properties of mouse marks

Posted on 1998-07-28
1
140 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now