Is it possible for the UltraPanel scroll bar to scroll immediatly when i use it like for the UltraGrid.
I resolve my problem,
public class PanelUC : UltraPanel
{ #region Constructor
public PannelUC() { this.Dock = System.Windows.Forms.DockStyle.Fill; this.AutoScroll = true; this.Scroll += new System.Windows.Forms.ScrollEventHandler(PanneauUC_Scroll); }
#endregion
#region Événements
private void PannelUC_Scroll(object sender, System.Windows.Forms.ScrollEventArgs e) { if (e.ScrollOrientation == ScrollOrientation.VerticalScroll) this.VerticalScrollProperties.Value = e.NewValue; else if (e.ScrollOrientation == ScrollOrientation.HorizontalScroll) this.HorizontalScrollProperties.Value = e.NewValue; }
#endregion }
Now my panel scroll when i move de scroll cursor. Not just when i release mouse button.
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Thank you for the clarifications. The scrolling behaviour, you are talking about, is the default one. I am not sure how were you able to achieve something else. Is there any chance that you are running some custom code or handling a scroll event?
Could you please try to attach, if possible, a small sample project, reproducing the above mentioned issue, I will be happy to take a look at it?
When i try to scroll with my UltraPanel, the scroll is apply only when i release the mouse button. I dont want this delay. I want it to scroll when i move my mouse not only when i release the mouse button. Do you understand ? I dont have this problem with the ultragrid when i set the property ScrollStyle to 'Immediate' if not the UltraGrid do the samething.
What do you mean by immediately?
I can only guess that you are looking for the min/max buttons, you could show them by setting the 'ShowMinMaxButtons' property to true on the 'ScrollBarLook' of the panel.
Please let me know if this is what you are looking for?