Hi,
I'm using the AppStylist to generate a consistent look-and-feel for my app. However, I have noticed some differences between the style when shown in the AppStylist and in my app. For example, if I create a new style and base it on the Office_2007 style bundled with the IG2007 pack, selected rows in a Grid have a Blue forecolour. However, if I then save that layout and use it in my application, items in the Grid have a White forecolour.
This is actually causing some problems with ValueLists - if you quickly move from my row to another, the cell on the previously selected row with the ValueList "forgets" to change it's style and the forecolour remains white, on a White background - hence it's invisible! It only shows itself again when you hover the mouse over the cell, I assume because this brings up the hover style of the cell.
Any ideas for both of these questions?
Thanks!
The behavior you are decribing in your second paragraph here is a bug that was fixed a while ago. Do you have the latest Hot Fix?
Mike
Thanks for your reply. It seems that I don't have the latest hotfix. I've been digging around on the website but can't find it anywhere!
Thanks
I think there are links on the Developer Support Manager's blog page: Vincent McDonald
Thanks. I've figured out the cause of my first problem. It's because when you drag a Grid on, by default it puts some settings in code (I assume in the intialisecomponent) that change the look and feel. These settings are overriding the appstylist. I ran the ResetLayout function on the Grid at design time and now it takes the look and feel from the Layouts correctly.
It might be worth putting this as a FAQ or something because all of us here fell foul of this problem - it's not really obvious that the Grid has overriden settings by default just by dragging teh control on.
Isaac