Baldur3635
Technical User
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!
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!