Keith L. Kovala
klk at ksu.edu
Fri Mar 21 14:56:00 CST 2003
Arthur, You are correct in this. Add the ImageList Control at design time, but do not assign the .ImageList property on the treeview at design time, instead use a line similar to: Set tvNavigate.ImageList = imlImages.Object in code to assign that value early on. This is due to a memory leak in the control. Keith L. Kovala > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Arthur Fuller > Sent: Friday, March 21, 2003 11:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Tech books ... > > > Thanks for that and I'll gladly give it a try. I seem to > recall something about a bug in planting the image control on > an Access form at design time; and that the alleged solution > is to add it in code instead. But I could just be having a > senior moment. > > On the purely cosmetic side, what's the ideal size for the > images in said list? I have a program called IconSucker and I > have used it to suck some icons, but they seem to be in > different sizes and shapes. What would you suggest in that regard? > > One step removed from cosmetic is the use of the image to > indicate something even before the user clicks on the node, > for example, in a list of > customers->orders->>order items, customers whose expenditures in the > customers->orders->>past > year > $5K get a special image in the list ($$$ :-), while > the common rabble get nothing but a file folder. > > But you've given me the nudge I needed to do some > woodshedding :-) Thank God for unemployment (at least until > the end of the month). > > > Arthur > > -----Original Message----- > From: accessd-admin at databaseadvisors.com > [mailto:accessd-admin at databaseadvisors.com] On Behalf Of Drew Wutka > Sent: March 21, 2003 11:46 AM > To: 'accessd at databaseadvisors.com ' > Subject: RE: [AccessD] Tech books ... > > > I have never used a Treeview in Access, but in VB, you just > put the image control onto the form. Then add the images. > Then to change the image on a node, just set it's image > property to the images 'index' in the image list. > > Drew > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com >