Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to have gradient on form on pageframe?
Message
De
29/05/2008 05:37:26
 
 
À
29/05/2008 05:30:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01320170
Message ID:
01320172
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform