General information
Category:
Third party products
Title:
Using RICHTX32.OCX under VFP
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only