Main Menu for a Windows App

Download pre-release library modules and new examples to use with CPIde and Component Pascal. Forum members can also upload their own source code examples.
Post Reply
Site Admin
Posts: 507
Joined: Fri Dec 31, 2010 12:30 pm

Main Menu for a Windows App

Post by cfbsoftware » Mon Dec 13, 2021 4:21 am

The attached example included with CPIde shows how to create a basic Windows App with a main menu.

When you select a menu item the menu caption is displayed on the StatusBar. The code includes a function which uses the .NET StringBuilder functions to efficiently strip non-alphabetic characters from a string.

MenuStrip.jpg (19.35 KiB) Viewed 36383 times
(1.59 KiB) Downloaded 2801 times

Post Reply