[AccessD] sniggling problem with treeview

Drew Wutka DWUTKA at marlow.com
Wed Mar 12 16:25:00 CST 2003


Seth, it seems like you have something else 'absorbing' the first click.
Either you have a control that is 'taking' focus and you aren't catching it
(so the first click is only setting focus to the treeview...the second fires
the actual on click event), or it is possible that your code is corrupt.
Try decompile/recompile, or just porting everything into a new database.

Drew

-----Original Message-----
From: Seth Galitzer [mailto:sgsax at ksu.edu]
Sent: Wednesday, March 12, 2003 1:25 PM
To: accessd
Subject: [AccessD] sniggling problem with treeview


Hi all,

We're using the treeview control in one of our applications right now
for form navigation (kind of like Susan's method for using a listbox for
navigation in this month's Inside Microsoft Access).  Basically, when
you (single-)click on a child node, the appropriate subform should open,
or action fire.  Populating the treeview is working great, as is
collapsing and expanding branches at will.  We had some trouble with the
icons for a while, but finally found a documented bug and were able to
work around it, so they are working fine now also.  

Everything is working pretty well, except for one final bug. 
Occasionally, and it seems like probably 10%-20% or the time when you
click on a node, the desired subform does not open until you
double-click on it.  This is more of an annoyance than a critical bug. 
After all, the subform does open after a double-click.  But it is
supposed to fire on a single-click.

Any of you treeview veterans come across this?  What did you do to fix
or work around it?  We tried some third-party treeview controls to see
if there was a better one out there, but they didn't want to work in
Access, only VB.

Any recommendations are welcome.

Seth

-- 
Seth Galitzer			sgsax at ksu.edu
Computing Specialist		http://puma.agron.ksu.edu/~sgsax
Dept. of Plant Pathology
Kansas State University

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list