Solved

add the arrows as a scroll

Posted on 2004-04-05
1
318 Views
Last Modified: 2010-04-05
how to add 2 arrows to scroll the content of the panel

0
Comment
Question by:zgeorge_2
1 Comment
 
LVL 11

Accepted Solution

by:
shaneholmes earned 110 total points
ID: 10762432
Hi george, I added these for you.

I created two new buttons (+ two new actions) and added the following functionality:

procedure TfrmMain.actUpExecute(Sender: TObject);
begin
 lvwReceipt.ItemIndex:= lvwReceipt.ItemIndex - 1;
 lvwReceipt.Items[lvwReceipt.ItemIndex].Selected:= True;
 lvwReceipt.Items[lvwReceipt.ItemIndex].Focused:= True;
end;

procedure TfrmMain.actDownExecute(Sender: TObject);
begin
 lvwReceipt.ItemIndex:= lvwReceipt.ItemIndex + 1;
 lvwReceipt.Items[lvwReceipt.ItemIndex].Selected:= True;
 lvwReceipt.Items[lvwReceipt.ItemIndex].Focused:= True;
end;

Shane
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 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

24 Experts available now in Live!

Get 1:1 Help Now