Jump to content


Click the link below to see the new game I'm developing!


Photo
- - - - -

DropDown Menu


13 replies to this topic

#1 pramodtripathi

pramodtripathi

    Newbie

  • Members
  • Pip
  • 1 posts
  • Gender:Male

Posted 06 January 2005 - 01:48 PM

Hi

If anybody can tell me how to create a Dropdown Menu In ProIV.

#2 Donald Miller

Donald Miller

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 205 posts
  • Gender:Male
  • Location:Cupar, Fife, Scotland
  • Interests:Motorcycling, Running, Cooking

Posted 07 January 2005 - 08:08 AM

Using VIP open your function and click on the drop down menu maintenance button. There are various options there to define the drop down menu. I'd recommend using a "hot key" - that way the menu can be accessed by both mouse and keyboard. Pre-cede the chosen letter with an "&". You'll need to assign a function key that isn't used elsewhere in the function. You have a choice of actions to take.

Hope that's enough for you to get going with.
Half of what he said meant something else, and the other half didn't mean anytthing at all

#3 Neil Hunter

Neil Hunter

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 420 posts
  • Gender:Male
  • Location:Johannesburg, South Africa

Posted 07 January 2005 - 02:13 PM

Im assuming that if i wanted to create dropdown lists dynamically, i would have to use some sort of control ?

#4 Donald Miller

Donald Miller

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 205 posts
  • Gender:Male
  • Location:Cupar, Fife, Scotland
  • Interests:Motorcycling, Running, Cooking

Posted 07 January 2005 - 02:18 PM

Haven't had that requirement thrown my way yet. Do you mean an Active X control ?
Half of what he said meant something else, and the other half didn't mean anytthing at all

#5 Neil Hunter

Neil Hunter

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 420 posts
  • Gender:Male
  • Location:Johannesburg, South Africa

Posted 07 January 2005 - 03:17 PM

Sorry, my post wasn't very clear.


And yeah i mean ActiveX Control

I want to maintain the dropdowns dynamically depending on user acess or allow users to maintain those dopr downs themselves. From my understanding its not possible as its considered to be static within VIP.

#6 Donald Miller

Donald Miller

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 205 posts
  • Gender:Male
  • Location:Cupar, Fife, Scotland
  • Interests:Motorcycling, Running, Cooking

Posted 07 January 2005 - 03:36 PM

If the selection of various user defined or user determined items doesn't have to be a drop down then you could use a list box (obviously). There may be other Active X components you could use (like tree structure selection). Let us know if you find a solution or an Active X component that satisfied your needs.

I've seen, in a demo of a Pro IV customer system by Neil Holmes, where an Active X Flash component was used for tabs that scrolled, so there may be something out there you can use.
Half of what he said meant something else, and the other half didn't mean anytthing at all

#7 Tony Waszkiewicz

Tony Waszkiewicz

    Expert

  • Members
  • PipPipPipPip
  • 174 posts
  • Gender:Male
  • Location:London, United Kingdom

Posted 07 January 2005 - 06:24 PM

Hi all,

We created an ActiveX menu (written in VB) that uses a tree list with two panes for recently used options and another for favourites.

Our system is also split into several modules each represented by an icon.

Users only see the options they have access to.

By the way, it's not a drop down menu.

regards

Edited by Tony Waszkiewicz, 07 January 2005 - 06:26 PM.


#8 Lewis Mccabe

Lewis Mccabe

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Sarasota, Florida

Posted 07 January 2005 - 07:46 PM

Hi Tony,

Could you post a screen shot of one of your menus?

Lew

#9 Mike Schoen

Mike Schoen

    Expert

  • Members
  • PipPipPipPip
  • 198 posts
  • Gender:Male
  • Location:Guelph, Canada

Posted 10 January 2005 - 02:47 PM

If the standard pro-iv dropdown with a select window would do the trick,
(unless I misunderstand what you mean by drop-down), then this is populated by a pro-iv ls in select mode.

And in that ls in select mode, you can use a sort-select to control what data you return to the list, so it can be
populated on the fly, by each user.

#10 Neil Hunter

Neil Hunter

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 420 posts
  • Gender:Male
  • Location:Johannesburg, South Africa

Posted 10 January 2005 - 02:55 PM

Thanks Mike, Didn't think of doing it that way

#11 Guest_Ken_*

Guest_Ken_*
  • Guests

Posted 11 January 2005 - 12:47 PM

Hi pramodtripathi,

I once did a similar task that was for a Year/Month selection of records. It only listed valid Years in the DB, in the year CB's, and had intuitive programing behind the month fields. For example, if the FROM/TO years were the same and the FROM month was June, the TO month CB would only list June to December. If the years were different, both CB's would list all 12 months.

This is done by creating a local LS for the CB's, clearing down the array variable on Entry Logic, and then rebuilding the array variables with the valid entries and setting MAX-PAGE to the COUNT, of record, you are on.

This ability took about 15 minutes longer to write than it would've taken to display all months all the time and then do a check on validity after the user has made a selection. The client really liked this because it was now impossible to make an incorrect selection range and eliminated the need to display an error message to the user. This was done in VIP, so I don't know if this will work on the version you are running. But in VIP, I was able to create a simple screen that showed the client that ProIV had the ability to display dynamic CB's that changed based upon previous entries.

Hope this helps.

mvh.

#12 Tony Waszkiewicz

Tony Waszkiewicz

    Expert

  • Members
  • PipPipPipPip
  • 174 posts
  • Gender:Male
  • Location:London, United Kingdom

Posted 17 January 2005 - 06:22 PM

Hi,

sorry for the delay I have been away. Please see the attached screen shot.

The left hand side is a bit like outlook in that if a user clicks on a module, Cash, confs, SIC... then a few options become available Work, Enquiry, Maintenance...

The centre pane shows a tree display of the options available to the user.

Right hand side shows a recent list and favourites and a search button to allow the user to look for a partial string in the menu info.

regards

Attached Thumbnails

  • SMART_ActiveX_menu_v2_0.png


#13 Lewis Mccabe

Lewis Mccabe

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Sarasota, Florida

Posted 18 January 2005 - 01:58 PM

Thanks Tony. This looks good. Have you approached Pro-IV about this? Pro-IV is sorely lacking a good menu system.

Lew

#14 Donald Miller

Donald Miller

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 205 posts
  • Gender:Male
  • Location:Cupar, Fife, Scotland
  • Interests:Motorcycling, Running, Cooking

Posted 18 January 2005 - 02:06 PM

Pro IV have a Menu Tool apparently (which help menus to look like a web page). I don't know if there's an associated charge. Contact your Pro IV account manager for more information.

Edited by Donald Miller, 18 January 2005 - 02:08 PM.

Half of what he said meant something else, and the other half didn't mean anytthing at all



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Click the link below to see the new game I'm developing!