StrataFrame Forum

BrowserDialog ignores properties

http://forum.strataframe.net/Topic28348.aspx

By Malcon - 9/13/2010


I'm changing the properties AcceptKey, and CancelKey SearcheKey, but browserDialog still continues to run the standard commands.

What can it be?
By Malcon - 9/13/2010

My properties, i´m change this propreties only for test.

this.browseDialog1.AcceptKey = System.Windows.Forms.Keys.F1;

this.browseDialog1.CancelKey = System.Windows.Forms.Keys.F2;

this.browseDialog1.SearchKey = System.Windows.Forms.Keys.F3;

By Ivan George Borges - 9/13/2010

Hi Malcon.

I have just done it over here and it worked fine. I just think they don't replace the standard keys, instead they add a short cut to them:



Now, when I press either Enter or Alt+Q, the search is executed.
By Malcon - 9/13/2010

I did exactly this, but in the version 1.7 it does not run correctly. Below the Print Screen.

I open the BrowserDialog and open the F3 key (which I set to be the Search) but nothing happens, but when I use the Enter key (default) it works correctly.
By Malcon - 9/13/2010

Ivan spotted that this only occurs in BrowserDialog Inherith UI, the BD standard that error occurs.

Detected even if the ReturnSelectedRecordOnly also does not happen in BD Inherithed UI, but in the original database is ok
By Ivan George Borges - 9/13/2010

Oh, you are using the DevEx BrowseDialog... have a look at this post:

http://forum.strataframe.net/FindPost25299.aspx