Using A TUpDown Component
Posted on 1999-01-11
I dropped a TUpDown named UpDown1 component onto a form and associated it to a TPanel named Panel1. I thought that once I associated UpDown1 to Panel1 that when the user clicks on the up or down arrows the value displayed in Panel1.Caption would automatically be updated to the correct value. I realize that UpDown1.Property contains the current value, but I thought the association would update Panel1.Caption. The end result is that it doesn't. What do I need to do to get the Panel1.Caption to show the correct value. I have inserted no code into any of UpDown1's methods. When the user clicks on the arrows nothing happens.