Home > database >  Help: how to multiline text in the edit box (mle) control data line by line with single quotes and c
Help: how to multiline text in the edit box (mle) control data line by line with single quotes and c

Time:10-09

As in the multiline text edit box enter
123456
4567890
23456
Immediately after modification for (single quotation marks and comma)
'123456',
'4567890',
'23456'
thank you

CodePudding user response:

Every time in a row, there are actually a newline character and a carriage return (13) and CRH cha (10) is not visible, one at the end of a line, a the most before the next line, before I forget who is who in the back, you can replace (char (13), '!!!! ') this kind of method to try,

Add 'then replace (char (13), "' "+ char (13)) or is char (10)

CodePudding user response:

The
refer to the original poster WSSSS response:
as in multiline text edit box enter
123456
4567890
23456
Immediately after modification for (single quotation marks and comma)
'123456',
'4567890',
'23456'
Thank you

Automatic folding line also need to add ', this is a little trouble

Long ll_i, ll_cnt
String ls_text, ls_data
Ll_cnt=mle_1. LineCount ()
Mle_1. Selecttext (1, 0)
For ll_i=1 to ll_cnt
Ls_text=mle_1. Textline ()
Ls_data +="'" + ls_text + "'"
Send (handle (mle_1), 256,40,0)
Next
Messagebox (' ', ls_data)
Try

CodePudding user response:

ECS
SLB
OSS
VPC
NAT gateway
The VPN gateway
High-speed channel/line
Sharing bandwidth/flow package
Cloud parsing
Cloud enterprise network
Intelligent access gateway
RAM
CDN
Live
Video on demand
The MTS - media processing
Basic protection
WAF
DDoS defense IP
Ann knight
Certificate services
The cloud monitoring
The network link
Cloud - MySQL database
"Cloud database - the Memcache
Cloud database - Redis
"Cloud database - directing a
Cloud database - DTS
MQ/ONS
Message queue Kafka
Message queue LMQ
Message service
The fortress machine
Cloud firewall
Website threat scan system
Operational audit
The database audit
Analysis to identify
Sensitive data protection
Key management service
Shield game
Real people certification
The crawler risk management
Encryption service
Content security
Other safety

CodePudding user response:

reference 1st floor Drayne response:
every time in a row, there are actually a newline character and a carriage return (13) and CRH cha (10) is not visible, one at the end of a line, a the most before the next line, I don't remember who first who last, you can replace (char (13), '!!!! ') this kind of method to try,

Add 'then replace (char (13), "' "+ char (13)) or is char (10)

The idea is right, the input information is roughly as follows:
The first line of content + newline
The second line of content + newline
.
The first n lines
The newline character as a tag, you can put the contents of every line, add symbols can be respectively,
Specific you specific trigger:
1, is input line, press enter to modify
2, the contents are input is completed, a button was clicked to modify
  • Related