Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about vcl

Read more about vcl

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - vcl

Loading resources at design time?

Is it possible to load a resource at design time? I am making a speed button component, and I want to automatically load a new image from the resource whenever the button size changes. It already work...
test-img

Marus Gradinaru

resources

vcl

delphi-10.3-rio

Votes: 0

Answers: 1

Latest Answer

You can not load icons at design-time from your application resource, since at that time the application executable doesn't even exist as you haven't compiled it yet. Now, what you might be able to do...
test-img

SilverWarior

Trying to copy a TMenu to another TMenu

Some simple test code that tries to copy from one TMainMenu to another. I'm making context sensitive main-menus. I've included the cpp, h and dfm, if you wish to recreate. This code has 3 TMainMenus s...
test-img

iplayfast

c++

c++builder

vcl

Votes: 0

Answers: 2

Latest Answer

Put this code together, seems to works for me, with a little bit of extra work you could copy specific items from one main menu to another. I have made the Button5 click event show whichever main menu...
test-img

user16458899

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved