Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have gradient on form on pageframe?
Message
From
29/05/2008 05:37:26
 
 
To
29/05/2008 05:30:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01320170
Message ID:
01320172
Views:
16
Hi Kouakou,

>how to have gradien on form like gradien on pageframe ?

drop a picture object onto your form. Make sure it is set to background
Now assign a bitmap (i.e. 1 px height and 100 pixel width to the picture object) The bitmap should be a gradient graphic.

In INIT-event of the picture write the following code:
With This
  .Stretch = 2
  .Top = 0
  .Left = 0
  .Width = .Parent.Width
  .Height = .Parent.Height
  .Anchor = 15
endwith
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Reply
Map
View

Click here to load this message in the networking platform