ForeColor Property of Bar returns Back Colour

Summary

Id: 3911.4
Type: Bug Bug
Current Status: Resolved

Detail

3 Mar 2003 Open Simon Horton

Excellent Control, I found a small bug in getting the forecolor of the bar... It returns the back colour not forecolor as expected...

Class: cListBar

Public Property Get ForeColor() As OLE_COLORDim ctl As vbalListBar If pbVerify(ctl) Then Rem old code == ForeColor = ctl.fBarBackColor(m_lPosition) ForeColor = ctl.fBarForeColor(m_lPosition):Rem fixed line. End IfEnd Property

The change is for line 148 in the class.

28 Jul 2003 Resolved Steve McMahon

Resolved as suggested.