Solved

Make TListBox topmost

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 79
Need Delphi function to get Youtube video title 5 228
Printing problem 2 81
How to build JSON File in Delphi 6 3 17
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…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

863 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