Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label with Windows background
Message
From
29/07/2004 11:08:36
 
 
To
29/07/2004 06:08:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00928846
Message ID:
00929227
Views:
25
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform