Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | sci.ID.sendMessage.NN SEARCH    

  Functions
sci.charReceived
sci.eventAuthor
sci.ID.create
sci.ID.getString
sci.ID.pos
sci.ID.sendMessage.NN
sci.messageReceived

  Events
event.sci:notify

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
sci.ID.sendMessage.NN

Language: MioScript
Product: MioFactory


Syntax

sci.ID.sendMessage.NN(MessageID, Param1, Param2)


Parameters

IDMessageIDMessage ID as defined in sci_vars.k
STRINGParam1First parameter
STRINGParam2Second parameter


Return value

Number



Description

Send a message to the Scintilla editor.

The latest key NN can be:
SS: First argument is a string, second argument is a string.
SN: First argument is a string, second argument is a number.
NS: First argument is a number, second argument is a string.
NN: Default - First argument is a number, second argument is a number.

If not specified: First argument is a number, second argument is a number.

For more information: Scintilla Documentation




MioScript Sample Code

// Enable line numbering
sci.&sci_ID.sendMessage(&SCI_SETMARGINTYPEN, 0, 1)

// Get the len of the first line
&len = sci.&sci_ID.sendMessage(&SCI_LINELENGTH, 0)