LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default strange behavior by ActiveX controls

I've got some ActiveX controls in my workbook, and their click events
trigger some VBA code that I've written. When I click on these controls,
the code runs as expected. However, strange things happen to these controls
themselves after I've clicked on them:

1. The caption font gets smaller after every several clicks of the control.
For example, if I originally set the caption font size to 14, as I click on
the controls, the font size gets smaller until its unreadable, smaller than
1 point. Even if I reset the font size in the control's properties window,
the caption font doesn't respond to the new setting. It remains at the
smallest size it reached while I was clicking on the control.

2. In the case of the command buttons, after I click on and then release the
button, they sometimes remain depressed instead of popping back up when I
release the mouse. I can then continue to operate the button, but their
display state is then reversed, where the button raises up when you click
the mouse, and drops back down when you release it.

Does anyone know what's going on with this?

Thanks in advance.

Paul


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX Controls leerem Excel Discussion (Misc queries) 0 December 11th 08 01:11 PM
Tab between ActiveX controls Tekhnikos Excel Discussion (Misc queries) 0 August 12th 08 03:42 PM
ActiveX controls Luke Excel Discussion (Misc queries) 1 October 26th 06 02:00 PM
ActiveX Controls Charly Excel Discussion (Misc queries) 1 October 18th 06 01:53 PM
ActiveX Controls vs Form Controls Alex Excel Discussion (Misc queries) 1 January 11th 06 08:46 AM


All times are GMT +1. The time now is 09:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"