Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I center an item on the controls client area in a user-sort multi-level hierarchy?

0
10 Posted

How do I center an item on the controls client area in a user-sort multi-level hierarchy?

0
10

The EnsureVisibleItem method of the Items collection ensures that an item is in the control’s client area. By default, the EnsureVisibleItem method cannot specify the position where the item should be displayed. Instead, the following EnsureVisibleItem procedure ensures that an item is displayed at a given position.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123