Forum > General

TFileList box and buttons help.


captian jaster:
Heres two of my problems:
Im trying to make the button not allowed to be clicked(like in installers when you havent selected a certain radio button, transparent almost.)
Unless(Second problem) something is selected from the TFileList.
What do i do >.<...
If tryed TFileListBox Selected but its asking for a integer and i dont know what to do there....
Plzz help :)

You should probably begin to read properties in Object-Inspector and use code-insight.

In the Obj.Insp for TButton you see a property "enabled". Sounds good no?
In code-insight you see that FileListBox has a property SelCount. If it's 0, then nothing is selected.


[0] Message Index

Go to full version