the scroll position.
- ExpandAll needs to compute the scrollbars so it knows which
position to set the bar too.
* TreeNode.cs:
* TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
svn path=/trunk/mcs/; revision=76152
* TextBoxBase.cs:
* ListView.cs:
* ListBox.cs:
* TreeView.cs: Use the InternalBorderStyle property to set the
initial border style, this forces the client rectangle to be
sized
correctly.
svn path=/trunk/mcs/; revision=76034
exanding nodes and setting node positions when windows aren't
created.
- Also attempting to walk the node tree less than previously,
and
just use visible order calculations for determining offsets.
svn path=/trunk/mcs/; revision=74146
- Use a local var instead of the skipped_nodes field for
computing
how many nodes to skip. Otherwise we won't scroll because the
valuechanged handler checks if skipped_nodes is equal to the new
value.
svn path=/trunk/mcs/; revision=73830
eliminates issues where you need to click on the tree before
scrolling it to get the top node computed correctly.
* TreeNodeCollection.cs: We don't need to mess with the top node
anymore.
svn path=/trunk/mcs/; revision=73333
[ fix the majority of the CS0108 warnings we've been suppressing ]
* TreeView.cs: mark BackgroundImageChanged as 'new'.
* ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
to "LayoutToolBar" to quiet mcs.
* TabControl.cs: mark our ControlCollection class as 'new'.
* TextBoxBase.cs: mark some events as 'new'.
* Splitter.cs: TabStop is 'new'.
* ControlBindingsCollection.cs: mark a few methods as new since
they change the visibility from protected to public.
* RadioButton.cs: DoubleClick -> base class, and remove unused
HaveDoubleClick.
* MonthCalendar.cs: ImeMode property -> base class, and mark many
events as new.
* NumericUpDown.cs: TextChanged -> base class.
* CheckedListBox.cs: mark our ObjectCollection class as new to
quiet mcs.
* FolderBrowserDialog.cs: make HelpRequest event new and have it
muck with the base class.
* StatusBar.cs: fix some mcs warnings about Update being the same
name as a base class method.
* RichTextBox.cs: mark some events as new, and make them do things
to the base class impl.
* UserControl.cs: mark TextChanged as new, and have it manipulate
base.TextChanged.
* UpDownBase.cs: mark some things new.
* CheckBox.cs: mark DoubleClick "new", and add some text about
what we need to look at.
* Panel.cs: make the events "new", and manipulate the base
version. these are just here for attributes.
* AccessibleObject.cs: make owner private.
* Control.cs: deal with AccessibleObject.owner being private.
cache our own copy if we need it.
* Button.cs: add "new" to the DoubleClickEvent.
* ListBox.cs: no need to track our own has_focus here. let
Control.has_focus do it for us. Also some other work to clear up
warnings about not overriding base class methods of the same name.
* ComboBox.cs: clear up some warnings about not override base
class methods of the same name.
2006-12-01 Chris Toshok <[email protected]>
In System.Windows.Forms.X11Internal:
2006-12-01 Chris Toshok <[email protected]>
* X11Hwnd.cs: need to mark queue as "new" to quiet mcs.
svn path=/trunk/mcs/; revision=68852
collapse. The scrolling methods can't handle this on their own,
since they use differences between the last scroll position, and
those difference get completely messed up since we are expanding
nodes. This problem should probably be fixed in the scrolling
methods, so they can figure out exactly where they are, but this
will slow things down a little.
svn path=/trunk/mcs/; revision=68002
- compute left edge of checkboxes correctly
- when expanding/collapsing move the bottom down one pixel, so
we
aren't moving part of the node
svn path=/trunk/mcs/; revision=67783
* TreeNodeCollection.cs: Only need to update scrollbars if being
added to an expanded visible node or the root node.
svn path=/trunk/mcs/; revision=66493
here, since it will get called for every node collection in the
tree. This is now done in the treeview once the sorting is
finished.
* TreeView.cs: Recalculate the visible order, and update the
scrollbars after sorting, set the top nope to the root so that
the
recalc actually works.
svn path=/trunk/mcs/; revision=66091
* TreeView.cs: guard against disposed conditions in UpdateScrollbars
to deal with people updating the TreeNodeCollection after the tree
is disposed. "Fixes" 79330.
svn path=/trunk/mcs/; revision=65771
they aren't always the same thing, when the mouse is down on a
node it is hilighted, but not selected yet.
- Do the HideSelection stuff right
svn path=/trunk/mcs/; revision=64516
* get
committed for some reason).
- Don't let the mouse wheel scroll us too far. Just want to
make
the bottom node visible, not scroll it all the ways to the top.
svn path=/trunk/mcs/; revision=63935
attempt to size the scrollbars (for trees that mess with the
scrolling when they shouldn't.
- Make sure to give the scrollbars valid values.
svn path=/trunk/mcs/; revision=63064
* TreeView.cs: Use a new LabelEdit class for node editing, this
class automatically 'closes' itself when it gets the enter key
or
loses focus.
svn path=/trunk/mcs/; revision=62645