Custom Cursor Size VBA
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Custom Cursor Size VBA

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
DonB
Guest





Posted: Tue Apr 19, 2005 12:10 am    Post subject: Custom Cursor Size VBA Reply with quote

I developed a VBA piece of code which I call up from a button but I would
like to enhance it a bit so that when I place the cursor on the button the
tooltip will say "change to 100% size" and then when I'm at 100% I would
like the tooltip to say "change to 10% size"
Here's the code I use at present.

Public Sub CrosshairToggle()
Dim PrefsDisplay as AcadPreferencesDisplay
Set PrefsDisplay = ThisDrawing.Application.Preferences.Display
If PrefsDisplay.CursorSize = 10 then
PrefsDisplay.CursorSize = 100
Else: PrefsDisplay.CursorSize = 10
End If
End Sub

Can anyone show me how to change the tooltip

TIA

DonB

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB