dalia:

> I am using the scintillavb activeX in VB6,

   The ActiveX control is not maintained.

> in MDI test project,
> there seems to be a focusing issue, if you open more than form
> with the same scintilla control on it as MID editor, only the last
> loaded form will receive the messages even if you activate the
> other forms and try to send messages, they will send to the last
> form loaded with scintilla.

   There has to be some way here you are referencing the ActiveX and
thus the Scintilla control. Possibly you have application level code
that says something like forms[current].sci.Text = "xxx". If this is
the case, you may need to debug how the references are being managed.
It could also be a problem in the ActiveX control that is only
expecting there to be one Scintilla control in an application and is
holding a reference to the most recently opened Scintilla in a global
variable.

   I think you'll just have to debug the code, including the ActiveX
control code.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to