{"id":176,"date":"2007-11-09T16:05:53","date_gmt":"2007-11-09T06:05:53","guid":{"rendered":"http:\/\/www.malcolmgroves.com\/blog\/?p=176"},"modified":"2008-10-02T15:31:03","modified_gmt":"2008-10-02T05:31:03","slug":"incremental-searching-in-the-delphi-object-inspector","status":"publish","type":"post","link":"http:\/\/www.malcolmgroves.com\/blog\/?p=176","title":{"rendered":"Incremental Searching in the Delphi Object Inspector"},"content":{"rendered":"<p>The sound of a massive forehead slap reverberated around my office earlier today. I think you can still see finger marks on my head.   <\/p>\n<p>I&#8217;ve been using Delphi for around 13 years, since sometime during the beta program for Delphi 1. I&#8217;ll be the first to admit I don&#8217;t know everything about the product, but I&#8217;ve always tried to learn keyboard shortcuts and anything that will help me navigate my way around the IDE. Even now when I don&#8217;t code day-in-day-out, I&#8217;m pretty sure I could show an experienced Delphi guy a thing or two.   <\/p>\n<p>However, my pride has taken a bit of a dent. I was suggesting some features to the Delphi team today. One of the features I was requesting was incremental filtering&#160; of properties in the Object Inspector, like you can do currently with the Tool Palette. I&#8217;ve <a href=\"http:\/\/www.malcolmgroves.com\/ecoweb\/articleview.aspx?ItemID=d5ccffe067044c719206d40517e8c9cb\">already mentioned<\/a> here before that I love the Tool Palette filtering, so much so that I&#8217;ve written <a href=\"http:\/\/www.malcolmgroves.com\/ecoweb\/softwaredetailview.aspx?ID=30\">OpenTools add-ins<\/a> to let me use it on more stuff. So, I figured this would really help me when I&#8217;m having trouble finding a property (especially when the Object Inspector is not sorted alphabetically)    <br \/>Well, while the filtering isn&#8217;t there today, turns out incremental search is, and has been for, oh, 13 years or so (ie. since Delphi 1). Doh!    <\/p>\n<p>So here goes, I&#8217;m either about to discover that I&#8217;m the only Delphi user in the universe who doesn&#8217;t know this, or the sound of forehead slaps is about to echo around the world.<\/p>\n<ul>\n<li>Press F11 until you have the Object Inspector selected.<\/li>\n<li>This will have the caret positioned in the &quot;value&quot; bit of the Object Inspector (ie. the right hand column where the property values go, not the left hand column where the name of the property is). <\/li>\n<li>That&#8217;s not where we want it, so press the TAB key to position the caret in the &quot;name&quot; column <\/li>\n<li>Start typing the name of the property you want. The selection will move down to the closest matching property name as you type. <\/li>\n<li>Pressing TAB again will move the caret back to the &quot;value&quot; column so you can start editing the property value.<\/li>\n<\/ul>\n<p>Here&#8217;s a little movie to show you it in action.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.malcolmgroves.com\/images\/software\/oi.gif\" \/>    <\/p>\n<p>So assuming some of you didn&#8217;t know this, I&#8217;m glad my embarrassment has served some useful purpose \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The sound of a massive forehead slap reverberated around my office earlier today. I think you can still see finger marks on my head. I&#8217;ve been using Delphi for around 13 years, since sometime during the beta program for Delphi 1. I&#8217;ll be the first to admit I don&#8217;t know everything about the product, but [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[19],"class_list":["post-176","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-delphi"],"_links":{"self":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=176"}],"version-history":[{"count":1,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions"}],"predecessor-version":[{"id":321,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions\/321"}],"wp:attachment":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}