ImportIntoText() equivalent for Area
Aldevinas Katkus
1-17-22
Operating system: macOS
I cannot find an equivalent for ImportIntoText() for areas. Is there one?

I am importing a tab separated text file and one of the columns may be longer than 255 chars. I need to import it into NotepadVc.
Everything works now, but I figured out I need to use AddFileToArea and then process that area if I need to process a file in a backgound task created with NewPeriodicTask2().
David Delač
1-26-22
Hi Aldevinas,

Try using AddAreaToTextField(area,RecordVc);

Let me know if this helped you.

Best Regards,

David D.
Aldevinas Katkus
1-27-22
I figured out it myself, and yes, you are right:

tstr = GetTabTextFromArea(LineNr,ColNr,a);// a string longer than 255 chars
ColNr = ColNr + 1;
SetAreaZeroSize(area_t);

AddTextToArea(trim(tstr),area_t);
AddAreaToTextField(area_t,NoterDN);//all chars are copied to Noter
//AddToText(tstr,NoterDN); only first 255 chars are copied
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Lilian Wanyoike
Hi, Spinners & Spinners are currently on version 8.5 2022-02-02 (build 85420830). they have been experiencing a network lag. Action taken: - Checked logs and confirmed that they had not whiteli...
14:13 30 Aug 2024
Lilian Wanyoike
Hi, Spinners & Spinners are currently on version 8.5 2022-02-02 (build 85420830). they have been experiencing a network lag. Action taken: - Checked logs and confirmed that they had not whiteli...
14:13 30 Aug 2024