Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | sci.messageReceived 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.messageReceived

Language: MioScript
Product: MioFactory


Syntax

sci.messageReceived()


Parameters

None.


Return value

Message ID



Description

Returns the latest message received from the Scintilla Editor when the event {event:SCI_NOTIFY} was raised.

The messages ID are defined in the library sci_vars.k

For more information: Scintilla Documentation





MioScript Sample Code

event.sci:notify
    &sci_msg = sci.messageReceived()

    if(&sci_msg = &SCN_CHARADDED)
        &sci_char = sci.charReceived()
        alert("Char "&sci_char" pressed!")
    if.end
event.end