Mailing list - Entries of 2006

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qftestJUI] What does MPRC event actually do with components and numeric index

  • Subject: [qftestJUI] What does MPRC event actually do with components and numeric index
  • From: "Michaelis, Mark" <mark.michaelis@?.com>
  • Date: Wed, 7 Jun 2006 12:35:05 +0200


I currently have a problem to place the cursor at the correct location in a

The specific problem:

The underlying document used is a HTMLDocument (a derived class) and I want
to place the cursor into a table cell. As the cell is empty I need to use
numeric indices. I want to write a procedure which is somewhat more generic
and allows the user to set the cursor by row/cell indices into the table.

Analysis so far:

While I may have found a way doing so with setCaretPosition I would prefer
to actually stay as close to the qftest functions as possible. I observed
that MPRC with numeric index actually does not use setCaretPosition but
makes something different. E. g. for a content like:


the cursor will remain in front of "1" for indices 0 to 3 and for index 4 it
will jump to the next empty line. In contrast with setCaretPosition() you
can place the cursor anywhere inside this string.

So perhaps the actual description how this index is handled would help to
find a solution for the focus problem.


Mark Michaelis
Software Engineer Quality Assurance

CoreMedia AG
Ludwig-Erhard-Str. 18
20459 Hamburg, Germany

Any Content, Anywhere, in a Trusted Universe:
CoreMedia CMS and CoreMedia DRM

Attachment: smime.p7s
Description: S/MIME cryptographic signature