Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement