-
Activex Tree ctrl
Hi there,
i've converted a 97 msaccess project from version 97 to version 2000, but there seems to be a problem with the treectrl that i'm using
Tree.Font.name = "Tahoma"
this gives an error, cause the Tree that i've registered doesn't support this methos Font! has anyone ever come accross this problem?
thanks for any help
brian.
Of course I do it for the ratings!
-
Re: Activex Tree ctrl
Hi Brian,
It just looks like your using the wrong TreeCtrl Version. The TreeCtrl should support Font="Tahoma" so double check your version.
Try using a different Font to test on.
Don't forget to rate!!!
Andrew Lennon (Berlitz)
Automation Dev Engineer
-
Re: Activex Tree ctrl
It's kinda funny,
if i add an activex microsoft treeview ctrl to my form, and name it say "mytree" i cannot call the font method on it.
but if i
Dim mytree as TreeCtrl
i can call mytree.Font etc?
I dont really know vb so please forgive me if im doing something really stupid.
p.s. your last reply has been rated
brian.
Of course I do it for the ratings!
-
Re: Activex Tree ctrl
Are you adding the TreeCtrl from the Toolbox, after selecting Microsoft Windows Common Controls from the Component Dialog.
Don't forget to rate!!!
-
Re: Activex Tree ctrl
I couldn't find any component options, i just clicked on add activeX ctrl from the tools menu in the msaccess and added a microsoft treeview ctrl. it's funny that when i dimmed an object of that type everything was ok. it was something to do with what ctrl was registered for the project i think, it's working now, was messing with registering ctrls, don't know exactly what fixed it.
thanks for ur help
brian
Of course I do it for the ratings!
-
Re: Activex Tree ctrl
In VB,
Go to Projects\components : a dialog will appear.
Scroll down the dialog to Windows Common Controls and select it and OK the dialog.
In the Toolbox in the left pane a series of controls appear, double click the treview control to add it to your form and use this one.
Andy
Don't forget to rate !!!!
Andrew Lennon (Berlitz)
Automation Dev Engineer