Solved

the scroll bar works like edit box?

Posted on 1998-04-30
3
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month10 days, 1 hour left to enroll

623 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