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:
00642675
Vues:
34
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 >
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform