Results 1 to 5 of 5

Thread: Dynamic Menus

  1. #1

    Thread Starter
    Addicted Member DJ_Catboy's Avatar
    Join Date
    Jan 2003
    Location
    Suffolk, UK
    Posts
    159

    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

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: Dynamic Menus

    Review this post ! .There's a link plus I'd attached an example !

  3. #3

    Thread Starter
    Addicted Member DJ_Catboy's Avatar
    Join Date
    Jan 2003
    Location
    Suffolk, UK
    Posts
    159
    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.

  4. #4
    Lively Member
    Join Date
    Jan 2001
    Posts
    79
    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.

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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
  •  



Click Here to Expand Forum to Full Width