Profile Picture

Control updating / painting issues?

Posted By lars knox 13 Years Ago
Author
Message
lars knox
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 22, Visits: 1

Hi,

I am using the Nevron Rich Text Box (NRichTextBox) with the following properties set: ScrollBars=ForcedVertical, ReadOnly=True and I am having severe issues with the scroll bar.

When the form comes up, the scrollbars on the rich text box look ok. When the user grabs the 'thumb' of the scrollbar and slides it down however, the 'thumb' does not move until the user releases it (although the text does scroll down). Also, when the user releases the thumb it reverts to a Windows scroll bar (it looses it's palette?) until the cursor leaves the thumb area, then it looks normal again.

On the same form I have two Nevron buttons (NButtons) that are not painted when the form first appears. However, once I hover over the button with the mouse, it paints normally.

I am not using SuspendLayout or ResumeLayout, rather I just plopped all the controls on a very simple form and they don't work as expected. This is a very straightforward, no frill form and I am perplexed by the behavior of these two common controls.

Any suggestions?

 






Similar Topics


Reading This Topic