Print Page | Close Window

MS Flex Grid not skinned

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=5656
Printed Date: 30 January 2025 at 9:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MS Flex Grid not skinned
Posted By: shane
Subject: MS Flex Grid not skinned
Date Posted: 01 December 2006 at 2:54am
I use MS Flexgrid in VB6 in quite a bit of my projects.   Oddly, only the scroll bars are affected when applying a style.  Column labels, cell background etc. are not skinned.  I would use the codejock report tool but it doesn't support word wrap in a cell.  Is there something I can do to get Flex grid to skin properly?



Replies:
Posted By: Oleg
Date Posted: 01 December 2006 at 6:26am
It looks like problem of MS Flexgrid. It doesn't catch changing system colors to redraw self.
You can simpy reproduce it if you change system theme in System Appearance - FlexGrid will not update self.
 
One of workaround manually set again colors of labels/selection:
 
MSFlexGrid1.BackColorFixed = &H80000000
MSFlexGrid1.BackColorFixed = &H8000000F


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net