Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Koen Piller
  Where is Koen Piller?
 Santpoort
 Netherlands
 Koen Piller
 To: Tariq Mehmood
  Where is Tariq Mehmood?
 BAHAWALPUR
 Pakistan
 Tariq Mehmood
 Tags
Subject: RE: Treeview Images Behaviour
Thread ID: 288796 Message ID: 288852 # Views: 23 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Active X Controls & OLE Automation
Date: Friday, December 24, 2010 3:22:34 PM         
   


> >
> > Tariq,
> >
> > I would not know, first thing what comes into my mind: The by you uploaded from is not the same as you show in development.
> > Please double check.
> >
> > Regards,
> >
> > Koen
> >
> > Read my blog: http://koenpiller.blogspot.com/
>
> I hide this label
>
> Why onode.images are different in DEVELOPMENT mode and in EXE mode?
>
> The form is same that is in first attachment
Tariq,

After I had recompiled your coding I once had the correct treeview, proof the exe is made from a different coding than your development coding.
Now I dont seem to be able to run it anymore.
I get lot of errors starting with "need an updated version of System.App" I also noticed you have in you startup.prg 2 times a call to "startup.prg" - (which seems to be a recursive calling - but it cannot be found since the path is not set)

I would advise you to clean everything, leave all the unness. callings to other (not yet) required classes and procesudes out and concenrate on the treeview first. There are some very usefull samples here in Foxite you could study. And only when that works add other features. ('small-piece development')

However it might also be a good idea not to use the ActiveX control at all to build a treeview. Please read the blog of Burkhard Stiller about making a pure VFP treeview. I believe his blog is very well documentated and should make you learn how to do this within 3 hours. Advantage of not having to worry about an ActiveX present on your clients pc and more flexible in adressing the images to the treeview.

Burkhard's blog: http://myvfpblog.blogspot.com/2007/11/vfp-native-treeview-part-i.html

Regards,

Koen


Read my blog: http://koenpiller.blogspot.com/

ENTIRE THREAD

Treeview Images Behaviour Posted by Tariq mehmood @ 12/24/2010 6:36:23 AM
RE: Treeview Images Behaviour Posted by Koen Piller @ 12/24/2010 1:49:23 PM
RE: Treeview Images Behaviour Posted by Tariq mehmood @ 12/24/2010 2:31:06 PM
RE: Treeview Images Behaviour Posted by Koen Piller @ 12/24/2010 2:35:07 PM
RE: Treeview Images Behaviour Posted by Tariq mehmood @ 12/24/2010 2:40:42 PM
RE: Treeview Images Behaviour Posted by Koen Piller @ 12/24/2010 3:22:34 PM