Lenny Story - 2003-01-17

Greetings,

I am trying to center a particular line in the center of the control. I have tried  the following :

  CurrentLine = Line;
  DisplayText->CaretY = Line;
  DisplayText->EnsureCursorPosVisibleEx(true);
  DisplayText->Invalidate();

The "EnsureCursorPosVisibleEx" method does
not seem to work, even when forcing the Middle flag to true.

Does anyone have any ideas on how to do this ?

Thanks!
-Lenny