| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
| <HTML> |
| <head> |
| <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> |
| <TITLE></TITLE> |
| <META NAME="GENERATOR" CONTENT="StarOffice 6.x (Win32)"> |
| <META NAME="AUTHOR" CONTENT="Gunnar Timm"> |
| <META NAME="CREATED" CONTENT="20020307;16083300"> |
| <META NAME="CHANGEDBY" CONTENT="Gunnar Timm"> |
| <META NAME="CHANGED" CONTENT="20020313;15515806"> |
| <STYLE> |
| <!-- |
| @page { size: 21.59cm 27.94cm; margin-left: 1.5cm; margin-right: 1cm } |
| P { margin-bottom: 0.21cm } |
| H1 { margin-bottom: 0.21cm } |
| H1.western { font-family: "Albany", sans-serif; font-size: 16pt } |
| H1.cjk { font-size: 16pt } |
| H1.ctl { font-size: 16pt } |
| H3 { margin-bottom: 0.21cm } |
| H3.western { font-family: "Albany", sans-serif } |
| H3.cjk { font-family: "HG Mincho Light J" } |
| H4 { margin-bottom: 0.21cm } |
| H4.western { font-family: "Albany", sans-serif; font-size: 11pt; font-style: italic } |
| H4.cjk { font-family: "HG Mincho Light J"; font-size: 11pt; font-style: italic } |
| H4.ctl { font-size: 11pt; font-style: italic } |
| --> |
| </STYLE> |
| </head> |
| <body LANG="en-US"> |
| <H1 CLASS="western">Change context menu handling of SvTreeListBox</H1> |
| <H3 CLASS="western">Status quo</H3> |
| <P>When using the Right-Mouse-Button to rise up the context menu, the |
| context always applies to the last selected entry/entries. Thus when |
| the selection is not actual visible, it is not clear to which |
| entry/entries the menu belongs to. In addition, the menu may be |
| opened far away from the selection which it refers to.</P> |
| <P>When rising up the context menu by keyboard (shift-F10), the menu |
| is placed at the actual mouse position and not at the position where |
| the selected entry is/entries are located.</P> |
| <H3 CLASS="western">How it will be</H3> |
| <H4 CLASS="western">Handling right mouse button click</H4> |
| <UL> |
| <LI><P>Click over any entry.</P> |
| <P>Previously selected entry/entries will be deselected. The entry |
| under the mouse position is selected and used as context.</P> |
| <LI><P>Click in empty arrea</P> |
| <P>For single selectable SvTreeListBoxes: no context menu</P> |
| <P>For multi selectable SvTreeListBoxes: Actual selection is cleared |
| and a menu with empty context is used.</P> |
| </UL> |
| <H4 CLASS="western">Handling context menu request by keyboard</H4> |
| <UL> |
| <LI><P>No entry selected</P> |
| </UL> |
| <UL> |
| <P>Empty context is used. Position of context menu will be the upper |
| left corner of the list box.</P> |
| <LI><P>One entry selected, entry visible</P> |
| <P>Position of menu in the middle of the entry.</P> |
| <LI><P>One entry selected, entry is invisible</P> |
| <P>Entry will be made visible, position of menu again is the middle |
| of the entry.</P> |
| <LI><P>More than one entry is selected, no entry is visible</P> |
| <P>The first selected entry is made visible and the position of menu |
| again is the middle of the entry.</P> |
| <LI><P>More than one entry is selected, one or more entries are |
| visible</P> |
| <P>The position of menu is the middle of the first visible selected |
| entry.</P> |
| <LI><P>Focused entry is not selected</P> |
| <P>The focused entry is ignored.</P> |
| </UL> |
| <H3 CLASS="western"><BR><BR> |
| </H3> |
| </body> |
| </HTML> |