I'm on Delphi XE2 with InfoPowerStudio2012_v220.127.116.11.
I have a twwdbnavigator where i have set an imageList in order to change the buttons image.
I check the option Masked in the property imageList of the twwdbnavigator to user the index of the timagelist
You can see my imageList
On the cancel button I set the imageindex to 5
The result in the IDE is :
As you can see, it takes the image with index 6 instead of the one I want.
if i run the program and the navigator is enabled, I see this
I have the good images for the buttons that are enabled (the first three). If i click on the edit button (the third one), my images are changing like this :
Now my fourth and fifth buttons are ok (they are enabled). But as you can see the third has changed (not enabled because we are in edit mode).
So how can I do to set a button for the enabled and disabled mode ?
Thanks in advance.
Please sign in to leave a comment.