Solved

the scroll bar works like edit box?

Posted on 1998-04-30
3
145 Views
Last Modified: 2010-04-06
Hi
I mean I am trying to do a program that works with   scroll bars, So What  I want to know is how can use scrool bars like edit boxes.
Any suggestions#
Thanks
Guerra
0
Comment
Question by:guerra
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
pjdb earned 10 total points
ID: 1339803
Use TMemo instead of TEdit. The difference is that TMemo manage many lines while TEdit manage only one line
0
 

Author Comment

by:guerra
ID: 1339804
Hi
How can I put a scrollbar for example with values from 0 to 360 selected the value and this value will appear in an edit box.
Any suggestion#
Thanks
Guerra
0
 
LVL 1

Expert Comment

by:pjdb
ID: 1339805
drop a scrollbar and an edit box on a from. put "edit1.text:=IntToStr(ScrollBar1.Position);" in the onchange event of the scroll bar to show the current position of the scroll bar in the edit box and "ScrollBar1.Position:=StrToInt(edit1.text);" to modify the scroll bar position from the edit box

JDB
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now