Article # 41, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Text controllers and read-only text objects
Question: I can't get the font and size controllers to work with a GenText in a small app I'm working on. The GenText is just a display text, so its GI_attrs field is set GA_READ_ONLY. Answer: Remove the GA_READ_ONLY. This makes the FontControl and PointSizeControl disabled because they can't change a read-only text object.