Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe & Shape colors problems
Message
 
À
16/08/2005 17:16:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01041434
Message ID:
01041481
Vues:
24
Fabio,

While setting the style property of the shape to 3 will give you a themed shape... it does not match the background color of pages in a themed pageframe... which I believe was the whole point of Naomi's questoin. Please put a pageframe containing at least one page and a shape on a form, have them both themed, and run it. I think it will be quite apparent that they are not the same (themed shapes have a transparent background).

>>Hi Naomi,
>>
>>As Hugo has already said, the pageframe color is a soft gradient. It can't be matched by simply getting the color of it... I mean you could get close, but that's about as far as you can get. Case in point, change the line of code in the init event of the sample code Hugo provided to read something like this:
>>
>>thisform.shape1.fillcolor = THISFORM.POINT(THISFORM.pageframe1.LEFT + 25, THISFORM.PAGEFRAME1.TOP + 25)
>>
>>This will get the color of that particular pixel on the pageframe control. but it doesn't match the entire pageframe as you can see by changing the left and top of the shape to move it over the top of the pageframe.
>>
>>So... you can easily get close, but not exact. You could take a screen capture of your pageframe while running and then put that as the picture of a container control instead of a shape. That's the only things I can think of... to mimic it completely would perhaps require more work than it's worth? Just some thoughts.
>>
>
>Why Style = 3 is not ok ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform