{"id":130,"date":"2007-05-12T14:43:35","date_gmt":"2007-05-12T12:43:35","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/align-form-to-workspace\/"},"modified":"2007-05-12T14:43:36","modified_gmt":"2007-05-12T12:43:36","slug":"align-form-to-workspace","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/align-form-to-workspace\/","title":{"rendered":"Align Form To Workspace"},"content":{"rendered":"<p>[code lang=&#8221;delphi&#8221;]procedure TForm1.FormCreate(Sender: TObject);<br \/>\n var<br \/>\n   NewRect: Trect;<br \/>\n begin<\/p>\n<p>\/\/ See SystemParametersInfo in the Win32.hlp file for other options<\/p>\n<p>   SystemParametersInfo(SPI_GETWORKAREA, 0, Pointer(@NewRect), 0);<\/p>\n<p>   Top := NewRect.Top;<br \/>\n   Left := NewRect.Left;<br \/>\n   Height := NewRect.Bottom &#8211; NewRect.Top + 1;<br \/>\n   Width := NewRect.Right &#8211; NewRect.Left + 1;<br \/>\nend;<br \/>\n[\/code]<\/p>\n<p>[tags]Delphi, Forms[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[code lang=&#8221;delphi&#8221;]procedure TForm1.FormCreate(Sender: TObject); var NewRect: Trect; begin \/\/ See SystemParametersInfo in the Win32.hlp file for other options SystemParametersInfo(SPI_GETWORKAREA, 0, Pointer(@NewRect), 0); Top&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[75,100],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-26","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/130"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=130"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/130\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}