SelectedView.VisibleColumnCount

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by Erik Pepping - RADVenture B.V
Avatar
Hi,

On what moment is the property SelectedView.VisibleColumnCount updated? I tried both this.editor.SizeChanged and this.editor.SelectedView.Resize, but the property isn't updated on those events. Which event I can use to retrieve the correct value for SelectedView.VisibleColumnCount after an resize event?

Thanks in advance,

Erik Pepping

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Eric,

VisibleColumnCount is updated in the ArrangeCore method of EditorView. ArrangeCore is typically called after a Layout request. Resizing triggers layouts typically but the Resize events might be firing before the layout occurs. Maybe try the Layout method. If that fails, you could maybe subclass SyntaxEditor and override its ArrangeCore method.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.