Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label with Windows background
Message
De
29/07/2004 11:08:36
 
 
À
29/07/2004 06:08:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00928846
Message ID:
00929227
Vues:
26
The label backcolor issue has been previously reported, and we're looking into it.

>
>Try setting the Style property of the Label to 3 - Themed. That should give you a label that is not transparent, but with a backcolor matching the page backcolor.
>

>
>Jim, sorry if I am useful this context.
>
>If i define this objects structure, with themes:
>
>Form ( with backColor = RED )
>   Pageframe
>       Page1
>          Container
>              Label ( BackStyle = opaque )
>
>the Label backColor is RED !
>
>Then the Label logic is:
>
>IF Label.BackStyle=Opaque
>    Label.BackColor =  ;
>     ICASE(   Label.Style=Normal                                           ,Label.BackColor ;
>        ,     Label.Parent.BaseClass=='Page' AND Label.Parent.Style=Themed ,Label.Parent.BackColor ;
>        ,     Label.ParentForm.BackColor)
>ENDIF
>
>
>Expected logic is:
>
>IF Label.BackStyle=Opaque
>    Label.BackColor =  ;
>     IIF(   Label.Style=Normal OR Label.Parent.Style=Normal
>           ,Label.BackColor ;
>           ,Label.Parent.BackColor)
>ENDIF
>
>* OR
>
>IF Label.BackStyle=Opaque
>    Label.BackColor =  ;
>     ICASE(   Label.Style=Normal                 ,Label.BackColor ;
>        ,     Label.Parent.Style=Themed          ,Label.Parent.BackColor ;
>        ,     Label.ParentForm.BackColor)
>ENDIF
>
>
>********************
>sub issue: VFPT can add the ParentForm property into VFP9 ? Thanks
>now i use ( very slow ):
>PROCEDURE ParentForm_Access
>RETURN m.ThisForm
>********************
>
>Thanks,
>Fabio.
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform