Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Gradient form background

Hi all,

Is it possible to give a UserForm in VBA a gradient background - maybe using
the WinAPI?

Looking around it seems not, but can anyone confirm that it is not possible
please?

Cheers
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Gradient form background

You could create a jpg of the gradient you want, then use an image control
to apply that to your form.



"SkylineGTR" wrote in message
...
Hi all,

Is it possible to give a UserForm in VBA a gradient background - maybe
using
the WinAPI?

Looking around it seems not, but can anyone confirm that it is not
possible
please?

Cheers



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Gradient form background

Hi Jezebel,

Thank you for your reply. I wanted the solution to be as efficient as
possible, in terms of speed and disk space. After much soul searching
you were right! An extra 20kb added onto the workbook and I got the
look I needed.

Thank you very much!

Jezebel wrote:
You could create a jpg of the gradient you want, then use an image control
to apply that to your form.



"SkylineGTR" wrote in message
...
Hi all,

Is it possible to give a UserForm in VBA a gradient background - maybe
using
the WinAPI?

Looking around it seems not, but can anyone confirm that it is not
possible
please?

Cheers


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
Print a data entry form without the spreadsheet as a background? CG Excel Discussion (Misc queries) 1 April 1st 06 10:18 AM
background color showing only when in email form David Excel Discussion (Misc queries) 1 January 23rd 05 09:46 PM
Changing Form Button Background Color wrkoch[_9_] Excel Programming 1 September 20th 04 11:46 PM
Changing Form Button Background Color wrkoch[_8_] Excel Programming 1 September 20th 04 10:55 PM
Changing Form Button Background Color wrkoch[_7_] Excel Programming 1 September 20th 04 09:32 PM


All times are GMT +1. The time now is 12:28 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"