Category: Programming

What is the Actions for Toolbars and Menus in C Builder

C++Builder provides several features that simplify the work of creating, customizing, and maintaining menus and toolbars. These features allow you to organize lists of actions that users of your application can initiate by pressing a button on a toolbar, choosing a command on a menu, or pointing and clicking on an icon. Often a set

Basic Knowledge for Graphics Programming in CBuilder or Delphi

First step to learn graphics programs–How to refresh the screen? At certain times, the operating system determines that objects onscreen need to refresh their appearance, so it generates WM_PAINT messages on Windows, which the VCL routes to OnPaint events. (If you are using CLX for cross-platform development, a paint event is generated, which CLX routes

What is the Predefined Action Classes and Predefined Action Classes List in C Builder

What is the Predefined Action Classes and Predefined Action Classes Lists in C Builder? You can add predefined actions to your application by right-clicking on the Action Manager and choosing New Standard Action. The New Standard Action Classes dialog box is displayed listing the predefined action classes and the associated standard actions. These are actions

Follow Me to Use the Brushes of a Canvas to Draw Better Graphics in CBuilder

What’s the brush and how to use the brushes? The Brush property of a canvas controls the way you fill areas, including the interior of shapes. Filling an area with a brush is a way of changing a large number of adjacent pixels in a specified way. The brush has three properties you can manipulate:

How to Write Action Components and Register Action Components

How to write action components? You can also create your own predefined action classes. When you write your own action classes, you can build in the ability to execute on certain target classes of object. Then, you can use your custom actions in the same way you use pre-defined action classes. That is, when the

How to Create SubMenus and Add Images to Menu Items

How to create submenus? Many application menus contain drop-down lists that appear next to a menu item to provide additional, related commands. Such lists are indicated by an arrow to the right of the menu item. C++Builder supports as many levels of such submenus as you want to build into your menu. Organizing your menu