NativeLookAndFeel and The Grid
3 posts
• Page 1 of 1
NativeLookAndFeel and The Grid
Hi All,
I recently changed my app to work with NativeLookAndFeel to take advantage of some new features like the cue property.
However, it appears that the grid refuses to display the picture on a button in this mode.
In other words, I have grid which uses button objects with a picture property to display an icon in a grid cell. With ShowInput set to 1, this works great in the old mode, but not with NativeLookandFeel turned on.
All I want to do is dislay a picture in a cell ... don't really need it to be a button.
Is this a bug?
Is there another way to get an icon to show up in a grid cell than with a button?
Is there a work around to get it to work?
Thanks in advance for any assistance.
Paul
I recently changed my app to work with NativeLookAndFeel to take advantage of some new features like the cue property.
However, it appears that the grid refuses to display the picture on a button in this mode.
In other words, I have grid which uses button objects with a picture property to display an icon in a grid cell. With ShowInput set to 1, this works great in the old mode, but not with NativeLookandFeel turned on.
All I want to do is dislay a picture in a cell ... don't really need it to be a button.
Is this a bug?
Is there another way to get an icon to show up in a grid cell than with a button?
Is there a work around to get it to work?
Thanks in advance for any assistance.
Paul
- paulmansour
- Posts: 420
- Joined: Fri Oct 03, 2008 4:14 pm
Re: NativeLookAndFeel and The Grid
Hi Paul,
This is bug 003793: If Native/XP Look and Feel is enabled, the Picture property bitmap of Buttons on a Grid only display on the button of the cell that has the focus.
You can use the Button's BtnPix property to display the picture. I have noticed some display issues if the picture is smaller or larger than the button, so best results can be obtained if the picture is the same size as the button.
Regards,
Vince
This is bug 003793: If Native/XP Look and Feel is enabled, the Picture property bitmap of Buttons on a Grid only display on the button of the cell that has the focus.
You can use the Button's BtnPix property to display the picture. I have noticed some display issues if the picture is smaller or larger than the button, so best results can be obtained if the picture is the same size as the button.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
Re: NativeLookAndFeel and The Grid
Thanks Vince.
- paulmansour
- Posts: 420
- Joined: Fri Oct 03, 2008 4:14 pm
3 posts
• Page 1 of 1
Return to Windows: GUI, COM/OLE/ActiveX
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group