Edit string more than 8191 bytes.

H

Hon Seng Phuah

Guest
Hi all,

According to the User Interface SKILL Function document, the
hiCreateMLTextField only supports upto 8191 bytes. If I want my users
to edit some multiline strings which may more than 8191 bytes, what
other options do I have in a SKILL form?

-HS Phuah
 
In article <3898598f.0404072221.560d158c@posting.google.com> hsphuah@usa.com (Hon Seng Phuah) writes:
According to the User Interface SKILL Function document, the
hiCreateMLTextField only supports upto 8191 bytes. If I want my users
to edit some multiline strings which may more than 8191 bytes, what
other options do I have in a SKILL form?
You won't be able to edit them directly in a single field in an HI Skill form.

You can either split them up and put each line in a field, or you can edit
them by putting into a file and invoking a text editor in an xterm (for
example) and then read the file after the xterm exits (using the Skill
system() or sh() commmand).

There are other ways as well, depending on the exact format of the text you
want to edit.

-Pete Zakel
(phz@seeheader.nospam)

"The man who sets out to carry a cat by its tail learns something that will
always be useful and which will never grow dim or doubtful."
-Mark Twain
 
Thank you for your suggestion. I had thought about it before I sent my
message earlier. In practical, your suggestion is not suitable for my
case.

I am creating a multiline form which a user can enter their messages
and send it via email. If a user invokes an editor to edit their
messages, they may accidential save it to different directory and/or
file name and my SKILL script may not able to read and email the
user's messages.

-HS

pxhxz@cadence.com (Pete nospam Zakel) wrote in message news:<4075fd0a$1@news.cadence.com>...
In article <3898598f.0404072221.560d158c@posting.google.com> hsphuah@usa.com (Hon Seng Phuah) writes:
According to the User Interface SKILL Function document, the
hiCreateMLTextField only supports upto 8191 bytes. If I want my users
to edit some multiline strings which may more than 8191 bytes, what
other options do I have in a SKILL form?

You won't be able to edit them directly in a single field in an HI Skill form.

You can either split them up and put each line in a field, or you can edit
them by putting into a file and invoking a text editor in an xterm (for
example) and then read the file after the xterm exits (using the Skill
system() or sh() commmand).

There are other ways as well, depending on the exact format of the text you
want to edit.

-Pete Zakel
(phz@seeheader.nospam)

"The man who sets out to carry a cat by its tail learns something that will
always be useful and which will never grow dim or doubtful."
-Mark Twain
 

Welcome to EDABoard.com

Sponsor

Back
Top