Hi Ernie, have you tried "SEND PACKET"?
https://doc.4d.com/4Dv16/4D/16.5/SEND-PACKET.301-4227615.en.html Best regards to Aruba :-) Marcus > Am 27.05.2019 um 22:58 schrieb ernest hilgers via 4D_Tech > <[email protected]>: > > Hi All, > > I have encountered an issue of which I am not able to find a solutions > (blush). > > And it goes as follows: > in a global Text-variable vMessage_t that is also displayed in a window > (Dialog) > a method is entering text (automatically), > one line at a time, > > wish: > line1; I am line 1 > line2; I am line 2 > line3; I am line 3 > > line4; I am line 4 > line5; I am line 5 > line6; I am line 6 > > the dialog-window has a button "Save" that needs to save what's in that text > variable vMessage_t > (visible to the operator in the dialogwindow) to a plain text document. > The idea is, the content of the text file should look like what's seen on > screen. > > I tried "variable to blob", then "blob to document" > but that will not produce the desired result. not with all kinds of > characterset and out/input specifically mentioned (or not). > > result: > <span style="text-align:left;font-family:'Courier New';font-size:13pt">line1; > I am line 1<br/>line2; I am line 2<br/>line3; I am line 3<br/><br/>line4; I > am line 4<br/>line5; I am line 5<br/>line6; I am line 6<br/></span> > > I tried "text to document", same result. > > if I highlight with the mouse the text in the window, then copy it to the > pasteboard > then it looks like what I want. > next, paste it into a new document, it gives the desired result, but it > should be possible to let 4D do that. > > I opened the created document with TextEdit, BBEdit. > Using 4D v17 on mac (10.13 / 10.14) (unicode-mode on). > > Hope anyone can tell me where my thinking goes of the rails. > > Regards. > > ernie hilgers(aruba) > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** MacStrass - Marcus Straßmann Softwareentwicklung und Beratung Auf der Markscheide 35 D-44807 Bochum Mobil: +49 (173) 374 39 92 eMail: [email protected] <mailto:[email protected]> Web: http://www.macstrass.de <http://www.macstrass.de/>
signature.asc
Description: Message signed with OpenPGP
********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

