Solved

Creating Menu Items in Run Time in D2k.

Posted on 2003-11-02
2
632 Views
Last Modified: 2008-02-26
In one of my D2k applications, I have teh following requirement.
I need to populate menu toolbar only at rune time (along with label and icons on it).  I understand that this is possible in VB.
Is it possible in D2k?  IF possible, how to bring this functionality.   Require tips and guidelines, pls.

Srigupta.
0
Comment
Question by:srigupta
  • 2
2 Comments
 
LVL 22

Expert Comment

by:Helena Marková
ID: 9668994
In Forms you cannot create objects at runtime (items, menu etc.). But you can make objects visible, enabled ... - for menu there is SET_MENU_ITEM_PROPERTY built-in there.
0
 
LVL 22

Accepted Solution

by:
Helena Marková earned 30 total points
ID: 9669071
For menu toolbar you can create buttons at design time and programmatically make them visible, enabled by using SET_ITEM_PROPERTY built-in.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

679 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