Solved

Make TListBox topmost

Posted on 2008-06-20
3
283 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
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

832 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