User (Legacy) Posted March 27, 2000 Report Share Posted March 27, 2000 I have one last question regarding your suggestion How do I put variable into the labeling command. You have suggested the following: pAxis->set_Label(i,L"StringLabel"); I noticed the L"StringLabel" is a wchar_t * type. How do I cast a AnsiString variable or a char variable into this type. I have tried to cast a char type to wchar_t first, then passing the reference of this wchar_t to wchar_t * variable. I have run into access violation with this methond. Thank You! Francisco Padron <frankp@softwarefx.com> wrote in message news:DE0379D14694D211B4CE00609770710D04E445@sftfx-221.wamnet.net... > Looks like Borland/Inprise did it again ! For some reason when they imported > the ActiveX, they left out some properties, in this case Label, I guess > because it is a string array (beats me !). Anyway, the workaround is to > call: > > ChartFX1->Legend[i] = L"StringLabel"; > > or > > pAxis->set_Label(i,L"StringLabel"); > > Frank > SFX > Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.