Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dynamic web menu

Posted on 1998-12-08
2
Medium Priority
?
153 Views
Last Modified: 2010-04-04
I wish to have an "On The Web" menu which is created according to a stringlist or registry or something that i can update from outside the program. How might I do this?
0
Comment
Question by:cando
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:BoRiS
ID: 1349795
cando

I'm not sure I understand what you need, are you looking for a menu that is updated when the web browser is open and add things from there, or just a menu that has your options in it for a web application you have written...

Later
BoRiS

0
 

Accepted Solution

by:
mjustin earned 140 total points
ID: 1349796
Hi,

you can create a menu item at runtime using code like the following (example for an 'undo' menu item:

miUndo := TMenuItem.Create(self);
          with miUndo do begin
              Caption := cCaptionUndo;
              OnClick := Undo;
              if rpShowShortcuts in PopupOptions
                 then ShortCut := menus.ShortCut(Word('Z'), [ssCtrl]);
          end;

and then add this menu item to your menu

MyMenu.items.Add(miUndo);

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question