Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView BackGround Colour
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00642611
Message ID:
00642675
Views:
33
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform