Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a problem with a DBGrid

Status
Not open for further replies.

Baldur3635

Technical User
Feb 15, 2010
26
0
0
BE
I have an application with a Main Window.

A button Click takes the user to a Form the Form has a DBGrid, a Lable And a List Box.

The idea is that the user selects an Item from the ListBox and depending on what he Clicks, the DBGrid will be sorted by his choice.

I've written all the necessary code. I've tested each selection manually and they work fine.

The problem that I have is that OnFormShow, it shows the DBGrid It shows the Label and the List Box, but the ListBox is grayed out and the user can't access it?

I'm obviously doing something stupid, but it's been a long time since I worked with Delphi, (before I retired and I'm now 80, so a bit of a kick to what's left of the gray cells would be appreciated!
 
OK, Forget this one. I found my stupid mistake and fixed it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top