Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background color
Message
De
29/01/1999 15:40:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00181975
Message ID:
00182000
Vues:
10
>>>>>>>Is there a way to make the background color of controls be whatever the color of the form is? I'm trying to create the illusion of a report on a form by getting rid of borders so it looks like the text is right on the form. But if they change their system colours (I checked) the background stays grey.
>>>>>>>
>>>>>>>Thanks,
>>>>>>>
>>>>>>>-Michelle
>>>>>>
>>>>>>What controls you mean? Note, that BackStyle=0 (transparent) would help here.
>>>>>
>>>>>Labels, textboxes, and list boxes. I'll look into BackStyle.
>>>>>
>>>>>Thanks,
>>>>>
>>>>>-Michelle
>>>>
>>>>BackStyle should help you. Also, there is no magic in:
>>>>ThisForm.SetAll("BackColor",Thisform.Backcolor,"Textbox")
>>>
>>>It keeps telling me that property backcolor is not found. I checked and the page and listbox both have backcolors as well as the form. Any ideas?
>>>
>>Did you cal it separately, for each class?
>>ThisForm.SetAll("BackColor",Thisform.Backcolor,"Textbox")
>>ThisForm.SetAll("BackColor",Thisform.Backcolor,"Listbox")
>
>Yep. I cut and pasted your code twice. Then I changed one to Listbox and one to Page.
>
Michelle, it seems that Listbox doesn't have BackColor property.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform