WPTools 6.13
This works as expected:
Code
TParagraph* p(...);p->TabstopAdd(WPCentimeterToTwips(3), tkLeft, tkDots);p->Insert(0, "some\ttext", Cardinal(0));
This will produce a tab but without dots or a "marker" in the ruler:
Code
TWPTextStyle* style(Editor->ParStyles()->AddStyle("tab-style"));
style->TabstopAdd(WPCentimeterToTwips(3), tkLeft, tkDots);
TParagraph* p(...);
p->SetStyle("tab-style");
p->Insert(0, "some\ttext", Cardinal(0));
So, is this a bug or am I missing something?
Regards
patrik.nyborg(a)genicore.se[/code]