Solved

Make TListBox topmost

Posted on 2008-06-20
3
286 Views
Last Modified: 2010-04-21
Gents,

I am calling a Tlistbox using a regular button. (Changing the TListBox visible property)

All works fine until I maximize a pannel within the form and restore it to its original location.

Thereafter my Tlistbox apears underneath the panel and I cannot read it.

Any idea how to solve this issue?

Before you ask, I use a tlistbox because its content is built from a database and need the scroll bar as I can have hundreds of items...

Many thanks
0
Comment
Question by:etiennedemers
[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
3 Comments
 
LVL 14

Accepted Solution

by:
SteveBay earned 500 total points
ID: 21831587
have you tried
     ListBox1.BringToFront;
0
 
LVL 13

Expert Comment

by:rfwoolf
ID: 21831710
Cut the ListBox (Select the listbox, press Ctrl + X)
Paste it in the panel (Click the panel you want to use as its parent and pres Ctrl + V)
If necessary you can set the Top and Left property of the Listbox
0
 

Author Closing Comment

by:etiennedemers
ID: 31469167
Actually the simplest solution worked best.

ListBox1.BringToFront;

I just crossed over from vb.net and was still looking for the topmost property...


Many thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

707 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