Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 To: Srinivas Sarma
  Where is Srinivas Sarma?
 jamshedpur
 India
 Srinivas Sarma
 Tags
Subject: RE: VFP MENU AS TREE VIEW
Thread ID: 104511 Message ID: 104713 # Views: 15 # Ratings: 0
Version: Visual FoxPro 9 Category: Menus
Date: Saturday, August 19, 2006 5:22:08 PM         
   


> Hi
>
> Thanks B.B. But program is not running and flashing error message 'Data Type mismatch'
>
> Srinivas
>


I guess you did not read my message properly. Neither did you look at the code to see what parameters to pass. This is not my code. But it will read a VFP menu and populate a tree view.

All you need to do is pass it the alias of the menu as a string "menu1.mnx" and the treeview as an object. I have tested the code and it IS working very well.

Anyway here is a sample menu and form to prove that the code works.
If you want more functionality I suggest you study the code and add it.


https://www.foxite.com/uploads/c2d33741-cc24-42a9-81d9-5c788a4e3bce.zip

ENTIRE THREAD

VFP MENU AS TREE VIEW Posted by SRINIVAS SARMA @ 8/17/2006 11:01:46 AM
RE: VFP MENU AS TREE VIEW Posted by Borislav Borissov @ 8/17/2006 11:16:00 AM
RE: VFP MENU AS TREE VIEW Posted by SRINIVAS SARMA @ 8/17/2006 11:18:32 AM
RE: VFP MENU AS TREE VIEW Posted by Marcia Akins @ 8/17/2006 12:40:26 PM
RE: VFP MENU AS TREE VIEW Posted by Bernard Bout @ 8/17/2006 4:04:30 PM
RE: VFP MENU AS TREE VIEW Posted by Borislav Borissov @ 8/17/2006 7:45:57 PM
RE: VFP MENU AS TREE VIEW Posted by SRINIVAS SARMA @ 8/19/2006 1:36:18 PM
RE: VFP MENU AS TREE VIEW Posted by Bernard Bout @ 8/19/2006 5:22:08 PM
RE: VFP MENU AS TREE VIEW Posted by SRINIVAS SARMA @ 8/21/2006 5:59:44 AM