When i attempt to set the transparency of a GridBandTool band i get a Member Not Found exception. I am using v8 of the ocx component in C++. The code looks as follows. Also all the GridBandBrush members work except the last 3 (SetTransparency, GetTransparency, and GetGradient)
CToolList toolList = m_teChart.GetTools();
int item = toolList.Add(tcGridBand);
tools = toolList.GetItems(item);
CGridBandTool gridBand = tools.GetAsGridBand();
COleVariant v(short((m_showBands != 2) ? atLeft : atBottom));
gridBand.SetAxis(v);
CGridBandBrush band = gridBand.GetBand1();
band.SetColor(m_rgbBand1);
// band.SetTransparency(50); // this causes a "Member not found" error
band = gridBand.GetBand2();
band.SetColor(m_rgbBand2);
// band.SetTransparency(50);
GridBandTool SetTransparency Fails with Member Not Found
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: GridBandTool SetTransparency Fails with Member Not Found
Hi HTRI_User,
Thanks for reporting. I could reproduce the issue here and added it (TA05014833) to the defect list to be fixed for next releases.
Thanks for reporting. I could reproduce the issue here and added it (TA05014833) to the defect list to be fixed for next releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |