|
-
Mar 24th, 2003, 11:52 AM
#1
Thread Starter
Addicted Member
Dynamic Menus
Hi,
I am a VB.NET noob - apologies. I was wondering if there is a way to create dynamic menus in .net. It would appear that there is no longer an array property (which I would have used in VB6 I recall) so am now stuck. Does anybody have any ideas?
The use for this: I want to have a nice pretty dialog that my users can add a crystal report to my application. So I send them the .rpt file and they click "Add Report" and it will appear in my menu "Reports". Probably sounds dumb but that's what I want to do. I am, of course, open to ideas..?
Thanks in advance,
DJ
-
Mar 24th, 2003, 06:17 PM
#2
Sleep mode
Re: Dynamic Menus
Review this post ! .There's a link plus I'd attached an example !
-
Mar 25th, 2003, 03:58 AM
#3
Thread Starter
Addicted Member
Hi,
Thanks - however, this is not what I need. What I would like is a menu called Reports, then when it is clicked, it searches some sort of file for a list of installed reports and then draws them. So some people will have one item in their Reports menu, others could have 20....... I may have not read your code correctly but I believe that there has to be a menu item to draw the XP style on - is that correct?
Thanks again - also thanks for not being rude about it too as some people are!
DJ
Last edited by DJ_Catboy; Mar 25th, 2003 at 04:02 AM.
-
Mar 25th, 2003, 07:08 AM
#4
Lively Member
I am doing something very similar but I am using the tree view instead of Menus.
I am working on a small application where Reports can be added and show in a tree view, in that way the menu item will be Reports and a tree view control will list all reports.
The only problem I am trying to resolve is to handle Parameter Descrete values where the User can add any descrete values as defaults.
-
Mar 25th, 2003, 12:43 PM
#5
Sleep mode
Originally posted by DJ_Catboy
Hi,
I may have not read your code correctly but I believe that there has to be a menu item to draw the XP style on - is that correct?
DJ
Yes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|