Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Customized spin button

Hi,

I am trying to customize several spin buttons ( control toolbox ) for
worksheet simulations.
With the idea of having two different Forecolors (green and red) as
well as rotated arrows, I though of using transparency ...
Unfortunately, the BackStyle property doesn't appear to be available
for spin buttons ...
Could this property be programmatically added to this OLEObject ?
....and how ?

TIA
Cheers
Carim

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Customized spin button


Hello Carim,

To add the property would require re-writing the SpinButton class in
C++. An Easier solution is to make 2 command buttons and place them
side by side. Change the Picture property to an arrow (left, right, up,
or down). It means writting a little more code, but it gets the job
done.

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=494324

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Customized spin button

Hi Leith,

Thanks for your suggestion. I will follow it ...
Rewriting the SpinButton class in C++ is way beyond my competence ...
Cheers
Carim

Reply
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
Spin Button [email protected] Excel Programming 4 June 12th 05 07:43 PM
spin button value tina Excel Discussion (Misc queries) 2 March 17th 05 02:11 PM
spin button bruce forster Excel Programming 1 May 7th 04 12:21 AM
Spin Button... scottnshelly[_25_] Excel Programming 4 April 30th 04 07:49 AM
Spin Button Andrew[_14_] Excel Programming 1 July 18th 03 01:51 AM


All times are GMT +1. The time now is 07:45 AM.

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

About Us

"It's about Microsoft Excel"