Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sluggish response in form with RTF controls and timer
Message
 
To
07/06/2006 03:07:39
John Faithfull
Hunterian Museum, University of Glasgow,
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01127055
Message ID:
01127817
Views:
33
Hi John,

>nTLen = SendMessage_C(THISFORM.Title_Olecontrol1.hWnd, 1119, REPLICATE(CHR(0),8), 0)

For me it returns the same value as LEN(oRTFControl.Text) but try changing it to:
nTLen = SendMessage_C(THISFORM.Title_Olecontrol1.hWnd, 1119, CHR(2)+REPLICATE(CHR(0),7), 0)
This sets the GTL_PRECISE flag. Maybe this will be more "precise" :^)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform