|
-
Nov 6th, 2007, 09:50 AM
#1
[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
-
Nov 6th, 2007, 11:40 AM
#2
-
Nov 8th, 2007, 04:48 AM
#3
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.
-
Nov 8th, 2007, 05:24 AM
#4
Re: Treeview graphical problems
I found the root of the problem - .HotTracking property. But i still don't understand it.
-
Nov 8th, 2007, 06:00 AM
#5
-
Nov 8th, 2007, 07:16 AM
#6
Re: Treeview graphical problems
 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
-
Nov 8th, 2007, 07:22 AM
#7
Re: Treeview graphical problems
 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.
Last edited by gavio; Nov 8th, 2007 at 07:34 AM.
-
Nov 8th, 2007, 08:10 AM
#8
Frenzied Member
Re: Treeview graphical problems
Is this a skinned form?
That might be the problem. the ClipControls?
-
Nov 8th, 2007, 08:30 AM
#9
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?
-
Nov 8th, 2007, 08:36 AM
#10
Frenzied Member
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.
-
Nov 8th, 2007, 09:05 AM
#11
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|