Folks - so now I'm stuck on setting the FontSTyle in c++ builder.
I looked at the samples and found the following...
// Don't know how to write this in C++ ...
// XLS->Sheet[ 0 ]->Cell[ 0][1 ]->FontStyle = [xfsBold,xfsItalic];
Not very helpful - what chance do I stand !!!
The code above will not compile.
Any help would be very appreciated - it's a big shame their isn't more C++ in the helpfile - life would be easier
Thanks
Karl
How do you set the FontStyle in c++ builder
I tried it too!
Hi Guys
I interpreted the advice that was given as follows:
The Message I then get when I try to compile is:
I hope someone can help
Regards
Deon
I interpreted the advice that was given as follows:
Code: Select all
XLS->Sheet[ 0 ]->Cell[ 0][1 ]->FontStyle = TFontStyles() << fsBold;
- [C++ Error] Main.cpp(37): E2034 Cannot convert 'TFontStyles' to 'TXFontStyles'
I hope someone can help
Regards
Deon