Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmPicker bug (I think)
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01007992
Message ID:
01008096
Vues:
17
I was able to reproduce this behavior in my VB.NET version of the Jump Start, CustomerOrdersForm.

>Hi,
>
>I get an exception when I open a mmPickList from a mmPicker. I do the following to reproduce the exception:
>
>1. Open a mmPickerList window from a mmPicker (make sure there are rows present in the list part of the window)
>
>2.Select the first row in the mmPickerList (one click select only, don't close the window). The whole row will be hightlighted.
>
>3. Use the down button on your keyboard to select a row that is under the currently selected row. Only the first column will be highlighted.
>
>4. Pressing the Enter key now will not do anything (at least it does nothing for me, I would expect it to select the row and close the window but it doesn't)
>
>5. There is two ways the exception can be raised from here. Either click the OK button or click the selected row so that all columns are hightlighted and then press the Enter key.
>
>NOTE: There is no gridcolumns used in my mmPicker so there is not default sort column.
>
>The exception stacktrace is as follows:
>
>There is no row at position 0.
>
> at System.Data.DataRowCollection.get_Item(Int32 index)
> at OakLeaf.MM.Main.Windows.Forms.mmPicker.SetText(DataSet dsSelectedItems)
> at OakLeaf.MM.Main.Windows.Forms.mmPicker.PerformSearch()
> at OakLeaf.MM.Main.Windows.Forms.mmPicker.txtEntry_Validating(Object sender, CancelEventArgs e)
> at System.Windows.Forms.Control.OnValidating(CancelEventArgs e)
> at System.Windows.Forms.Control.NotifyValidating()
> at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl)
> at System.Windows.Forms.ContainerControl.Validate()
> at System.Windows.Forms.ContainerControl.Validate()
> at System.Windows.Forms.Button.PerformClick()
> at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
> at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
> at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
> at System.Windows.Forms.ContainerControl.ProcessDialogKey(Keys keyData)
> at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
> at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
> at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
> at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg)
> at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
> at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
> at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
> at System.Windows.Forms.Application.Run(Form mainForm)
> at OurCompany.OurProduct.Main.AppMainEntry.Main() in C:\Documents and Settings\MyLogin\My Documents\Visual Studio Projects\OurProduct.Net\OurProduct\Main.cs:line 42
>
>Hope this is of any help,
>
>Andrew
Chris McCandless
Red Sky Software
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform