Solved

Make TListBox topmost

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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Printing problem 2 111
LAN or WAN ? 11 106
tvirtualstringtree freeze when load too manny images 10 81
DBGrid or StringGrid ? 6 120
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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