Solved

the scroll bar works like edit box?

Posted on 1998-04-30
3
149 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need Delphi function to get Youtube video title 5 222
Mobile Keyboard covers the display of the TMemo 3 78
Intraweb download file link ? 1 105
Delphi Form ownership 4 70
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…
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 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

12 Experts available now in Live!

Get 1:1 Help Now