Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 638
  • Last Modified:

Creating Menu Items in Run Time in D2k.

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
srigupta
Asked:
srigupta
  • 2
1 Solution
 
Helena Markováprogrammer-analystCommented:
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
 
Helena Markováprogrammer-analystCommented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now