Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView BackGround Colour
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00642611
Message ID:
00642681
Vues:
31
Yes I was playing with it to try to get it to work. This way round it changes the background correctly, removes the TreeLines correctly and everything goes grey but as soon and the TreeLines and reinstated the white areas to before the TreeLines comes back :-( any ideas?

>You changed the order of commands. The style should be reset after the background has been changed.
  ThisForm.Visible = .T.
>    =SendMessage(.hWnd, TV_SetBackColour, 0, Rgb(192,192,192))
>    *-- Reset the Style so that the TreeView appear properly.
>    lnStyle = GetWindow(.hWnd, TV_Style)
>    =SetWindow(.hWnd, TV_Style, lnStyle - TV_HasLines)
>
>
>>Sergey you have already pointed me there and I believe that I've got the Node bit of it working but there is a section to the left of the indented nodes that is still white!
>>
>>>Check Message #526263.
>>>
>>>>Hi all,
>>>>
>>>>I've been trying to change the Background colour for a simple TreeView. I was given the reference to the Basic example but have been unable to translated it correctly as I'm still getting a small patch of white appearing. Here is my code. (VF7)
>>>>

>
>< snip >
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform