Attached is two patches for implementation of text wrapping in a fpgui_memo
Also attached is a modification of the memotest example to show the wrapping in action
Logged In: YES
Update of fpgfx for memo text wrapping implementation
File Added: fpgfx.patch
File Added: memotest.lpr
memotest modified for text wrapping demo
File Added: gui_memo.patch
gui_memo update for text wrapping implementation
Logged In: YES
Thanks for the patch. I haven't applied it yet, as I noticed 3 issues with text wrapping. See attached images
1) See memo1.png. Here the text wrapped correctly. I sometimes found that it removes the space between two words where the space triggers the wrap. The following line then has both words put together.
2)See memo2.png. I resized the form as shown in image 1 and made in narrower. More words started to wrap, but now they paint over eachother.
3) See memo3.png. I then enlarged the width of the form, to see if the wrapped line would unwrap. The word that wrapped in (1) does not unwrap, but the wrapped words from the action in (2) did.
SourceForge seems to be broken, I can't attach any files! :-(
The new TextEdit component will replace the TfpgMemo component. TfpgTextEdit is in the prototypes directory and isn't 100% complete yet. But I should have it completed in my December holidays, because the next fpGUI release.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.