Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

the scroll bar works like edit box?

Posted on 1998-04-30
3
Medium Priority
?
172 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 20 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

879 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