Indigo Rose Software
  #1  
Old 09-27-2005
jerilyn jerilyn is offline
Indigo Rose Customer
 
Join Date: May 2003
Location: Phoenix, Arizona
Posts: 38
Enable menu at runtime

My project has three components, each of which is accessible through a menu option with corresponding submenu items. Most of our clients install all three options but there are some that have maybe only one or two of these options. I want to be able to check if certain files are installed on their system. If they are, enable the corresponding menu. If not, leave the menu disabled (as this will be the default) unless the preload test passes. Thank you.
Reply With Quote
  #2  
Old 09-27-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Hi, at this time the menu bar applies project-wide, not to individual pages. You can erase all the items from the menu bar in certain scenarios though. To do that simply use Application.SetMenu with an empty table. Here's an example of the Application.SetMenu action:

http://www.indigorose.com/webhelp/am...u_Examples.htm

Reply With Quote
  #3  
Old 09-28-2005
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
I think what you mean is not preload (which refers to a page), but onStartup which refers to the project.
Then you can add an action which, based on whatever was checked, uses Application.Menu to state which menu (or submenu) will be enabled.

Yossi
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
INFO: Microsoft Data Access Components 2.8 Runtime Notes Desmond Setup Factory 6.0 Knowledge Base 0 11-28-2003 09:20 AM
Right Click for Context Menu for runtime application and "transparent" text box with text wjacky AutoPlay Media Studio 4.0 3 09-15-2003 10:55 PM
INFO: MDAC 2.7 Runtime Support Module Support Setup Factory 6.0 Knowledge Base 0 10-17-2002 04:55 PM
TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0 Support AutoPlay Menu Studio 3.0 0 10-10-2002 03:39 PM
I can not enable menu expiration date. HELP Holder AutoPlay Menu Studio 3.0 2 01-19-2001 02:54 PM


All times are GMT -6. The time now is 12:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software