Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

add the arrows as a scroll

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

0
Comment
Question by:zgeorge_2
[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
1 Comment
 
LVL 11

Accepted Solution

by:
shaneholmes earned 440 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
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 this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

636 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