Results 1 to 11 of 11

Thread: [RESOLVED] Treeview graphical problems

  1. #1

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Resolved [RESOLVED] Treeview graphical problems

    If i place some window over my TreeView, it sometimes produces graphical problems - all nodes are "deleted" (not visible) and get back only when i pass theme over with my mouse. It is very very strange and quite anoying. Has some1 encounter this type of behaviour?! And if, can it be avoided?

    Thank you

  2. #2
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: Treeview graphical problems

    Couldn't recreate the Error
    Is there any painting done in the form?

    IIF(Post.Rate > 0 , , )

  3. #3

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Treeview graphical problems

    Not quite.

    I have tried to replace the TreeView with an older version (from 6 to 5), but produced the same problems. Don't really know why - don't have any code that could influence it.

    Here's a snapshot of the Form (it's an application for job check-in & outs).



    Sometimes, when i click on a Node that opens a new Form (with the same style), it doesn't refresh when it comes back. It's just a blank square where that 2nd Form was located.

  4. #4

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Treeview graphical problems

    I found the root of the problem - .HotTracking property. But i still don't understand it.

  5. #5
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: Treeview graphical problems

    I thought once that HotTracking coud be a problem, but It works only when the node is not fully shown in the treeview. It makes the node to dissapear and show it like a tool tip. But in your case, the nodes are viewed fully. I m clueless.

    BTW, nice Interface
    IIF(Post.Rate > 0 , , )

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Treeview graphical problems

    Quote Originally Posted by gavio
    Here's a snapshot of the Form (it's an application for job check-in & outs).

    The only thing I see displayed is a red X

  7. #7

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Treeview graphical problems

    Quote Originally Posted by Hack
    The only thing I see displayed is a red X.
    Strange. OK. I uploaded it

    Here are the actual snapshots of the problem.
    Attached Images Attached Images   

  8. #8
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: Treeview graphical problems

    Is this a skinned form?
    That might be the problem. the ClipControls?

    IIF(Post.Rate > 0 , , )

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Treeview graphical problems

    Being able to view the form is not important. What is the gavio's issue, which seems to be resolved even though he is not quite sure why it happened in the first place.

    Is this right gavio?

  10. #10
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: Treeview graphical problems

    No its not the Form Viewing thing. I havent done any skinnig but as I ve heard and seen that ClipControls should be false for skinning , right? (Or wrong?)
    So wouldnt it be problem to repaint the controls in Background form (the bottom one) when the Forground Form is unloaded?

    just a thought.
    IIF(Post.Rate > 0 , , )

  11. #11

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Treeview graphical problems

    zz is right. But not that right .ClipControls were at False - and that was causing the problem. I changed it to True and it's working now

    So, .ClipControls should be True for skinning. Don't know why really.

    Anyhow... thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width