Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using RICHTX32.OCX under VFP
Message
From
27/09/1996 17:03:12
Otto Marais
Computer House In Processing
Pretoria, South Africa
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Using RICHTX32.OCX under VFP
Miscellaneous
Thread ID:
00008692
Message ID:
00008692
Views:
105
We used the Rich textbox control that ships with Visual Basic quite successful in VFP. We have found a few problems with it though, but were able to bypass almost every problem we ran into.

One of the problems were setting the RightMargin on the control. Although the setting is supposed to be in TWIPS, the control kicked in using pixels on certain machines and then TWIPS again on other machines.

We bypassed this by creating a ScaleFactor (Which are read from an INI file at run-time). The controls Rightmargin will then be set to the RightMargin * ScaleFactor at run-time from the form INIT method. This solved the problem.

Is there a better way of doing this?

Otto
Reply
Map
View

Click here to load this message in the networking platform