Search found 2 matches
- Wed Dec 02, 2009 1:32 am
- Forum: Support
- Topic: RVStyle.OnDrawStyleText Sender.OffsetInItem Problem
- Replies: 2
- Views: 7350
- Tue Dec 01, 2009 3:14 pm
- Forum: Support
- Topic: RVStyle.OnDrawStyleText Sender.OffsetInItem Problem
- Replies: 2
- Views: 7350
RVStyle.OnDrawStyleText Sender.OffsetInItem Problem
Sender.OffsetInItem in OnDrawStyleText always = 1 , when I use RVStyle.OnDrawStyleText for RVPrint .
for example:
Three lines "A" in richview, like this:
"AAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAA"
then
rvdata.drawitems.count = 3
rvdata.ItemCount ...
for example:
Three lines "A" in richview, like this:
"AAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAA"
then
rvdata.drawitems.count = 3
rvdata.ItemCount ...