Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hi Devex Team,
                                     i am in the process of converting my solution from devex 6.2 to devex 9.3. Now i find an error with the SendKey Method which doesnt accept a keypresseventargs.

                                    My code is
                                    txtEdtTemp.SendKey(new SWF.KeyPressEventArgs(MyChar));

                                    This version doesnt contain an overload with KeyPressEventArgs. Also i cannot use the KeyEventArg since "MyChar" is defined in the code as the value of the textedit.

                                    string strText = txtEdtTemp.Text;
                                                    if (strText.Length > 0)
                                                    {
                                                        char MyChar = strText[strText.Length - 1];
                                                         txtEdtTemp.SendKey(new SWF.KeyPressEventArgs(MyChar)); ---error
                                                     }

                                0

                                Hi,

                                Please consider to use the SendKey method that accepts the KeyPressEventArgs object as a parameter.

                                Thanks,
                                Stan.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners