Jonne
15-01-2004, 08:51 PM
How can I make a button using DelphiX.
Possibly the easiest way to make a button in delphiX is to create your own button class. Use a graphic with four states, up down, down, mouse over and disabled. In the dxtimer loop draw your buttons. When a mouse down event occurs pass the location to the button code to check if the mouse down/up occured within the bounds of the button.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.