Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: inproc Pin
Pete O'Hanlon10-Sep-07 0:43
mvePete O'Hanlon10-Sep-07 0:43 
GeneralRe: inproc Pin
Sonia Gupta10-Sep-07 0:46
Sonia Gupta10-Sep-07 0:46 
QuestionIE-like combobox in PropertyGrid [modified] Pin
to_samGmbH10-Sep-07 0:04
to_samGmbH10-Sep-07 0:04 
AnswerRe: IE-like combobox in PropertyGrid Pin
visualhint10-Sep-07 6:24
visualhint10-Sep-07 6:24 
GeneralRe: IE-like combobox in PropertyGrid Pin
to_samGmbH10-Sep-07 21:34
to_samGmbH10-Sep-07 21:34 
GeneralRe: IE-like combobox in PropertyGrid Pin
visualhint11-Sep-07 2:02
visualhint11-Sep-07 2:02 
GeneralRe: IE-like combobox in PropertyGrid Pin
to_samGmbH11-Sep-07 3:03
to_samGmbH11-Sep-07 3:03 
GeneralRe: IE-like combobox in PropertyGrid Pin
visualhint11-Sep-07 3:19
visualhint11-Sep-07 3:19 
OK, I see now, except that I'm not sure if you implemented your own UITypeEditor or not. Anyway, using your own one or the default one, you won't be able to show the dropdown box and at the same time to have the focus in the textbox to let the user continue typing. This is even the same in Smart PropertyGrid. So how did I implement it in SPG ? I used the autocompletetion feature of the textbox. It looks something like that in my code:


string[] displayedValues = propEnum.Property.Value.GetDisplayedValues();
if (displayedValues.Length > 0)
{
    System.Windows.Forms.AutoCompleteStringCollection coll = new System.Windows.Forms.AutoCompleteStringCollection();
    coll.AddRange(displayedValues);

    tb.AutoCompleteCustomSource = coll;
    tb.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
    tb.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
}


tb is the textbox, so since you have a hack to get access to your textbox, you could maybe do the same. I can assure you that this a waste of time to try to do it with the UITypeEditor in the MS PropertyGrid.


QuestionChanging a tabpage font Pin
Muammar©9-Sep-07 23:45
Muammar©9-Sep-07 23:45 
AnswerRe: Changing a tabpage font Pin
Martin#10-Sep-07 0:20
Martin#10-Sep-07 0:20 
GeneralRe: Changing a tabpage font Pin
Muammar©10-Sep-07 1:03
Muammar©10-Sep-07 1:03 
GeneralRe: Changing a tabpage font Pin
Martin#10-Sep-07 1:06
Martin#10-Sep-07 1:06 
QuestionDagridView Pin
Assaf829-Sep-07 23:22
Assaf829-Sep-07 23:22 
QuestionLog on services as Local System account Pin
Developer6119-Sep-07 23:13
Developer6119-Sep-07 23:13 
QuestionSelecting a tree node?? Pin
Muammar©9-Sep-07 22:58
Muammar©9-Sep-07 22:58 
AnswerRe: Selecting a tree node?? Pin
Pete O'Hanlon9-Sep-07 23:08
mvePete O'Hanlon9-Sep-07 23:08 
GeneralRe: Selecting a tree node?? Pin
Muammar©10-Sep-07 1:10
Muammar©10-Sep-07 1:10 
AnswerRe: Selecting a tree node?? Pin
Abisodun10-Sep-07 1:36
Abisodun10-Sep-07 1:36 
GeneralRe: Selecting a tree node?? Pin
Muammar©10-Sep-07 19:39
Muammar©10-Sep-07 19:39 
GeneralRe: Selecting a tree node?? Pin
Abisodun11-Sep-07 1:55
Abisodun11-Sep-07 1:55 
QuestionHow find class name and constructor in a cs file ? Pin
topcatalpha9-Sep-07 22:20
topcatalpha9-Sep-07 22:20 
AnswerRe: How find class name and constructor in a cs file ? Pin
Paul Conrad14-Sep-07 19:03
professionalPaul Conrad14-Sep-07 19:03 
GeneralRe: How find class name and constructor in a cs file ? Pin
topcatalpha16-Sep-07 20:51
topcatalpha16-Sep-07 20:51 
QuestionSession.clear ans session.abandon Pin
Sonia Gupta9-Sep-07 22:14
Sonia Gupta9-Sep-07 22:14 
AnswerRe: Session.clear ans session.abandon Pin
Pete O'Hanlon9-Sep-07 22:55
mvePete O'Hanlon9-Sep-07 22:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.