Why does this event get called sometimes 3 to 4 times when the user clicks in a different part of the document (especially tables)? I would figure it would only get called ONCE.
Best Regards,
Shane
OnCurTextStyleChange??
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
Well, it killed a feature I was trying to add because of the # of times it was called. I was just going to check if the FontName / Size was the same and eat "repetitive" calls but many times clicking in a different section of the document gets multiple font/size combinations when really there shoud only be one.
Shane
Shane
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 54
- Joined: Mon Jul 31, 2006 2:10 am
Well, it was causing me all kinds of problems trying to load a devexpress lookup control. As I said, I would simply filter the repetitive calls but several times an Arial, Font 10 got stuck in between when it shouldn't.
Any how, I just gave up because I have already spent more time on this than I have for it. I just want to get a basic WYSIWUG document editor going and I will put it to bed for now.
I have everything working except my users are telling me printing isn't correct. I cut / paste / translated the pascal code (which wasn't much) to c++. I will have to wait and test later this evening.
Best Regards,
Shane
Any how, I just gave up because I have already spent more time on this than I have for it. I just want to get a basic WYSIWUG document editor going and I will put it to bed for now.
I have everything working except my users are telling me printing isn't correct. I cut / paste / translated the pascal code (which wasn't much) to c++. I will have to wait and test later this evening.
Best Regards,
Shane
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: