Reloading the createparams method [2]: several examples of reloading the tform. createparams Method

Source: Internet
Author: User
Here is an explanation of all the relevant parameters: http://www.cnblogs.com/del/archive/2008/04/15/1154359.html
// Maximize the window procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; Params. style: = Params. style or ws_maximize; {ws_minimize is minimized} end; // cancel the system menu (if you cannot close it, use Alt + F4) Procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; params. style: = Params. style and not ws_sysmenu; end; // deselect the border procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; Params. style: = Params. style and not ws_thickframe; end; // procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; Params. exstyle: = Params. exstyle or ws_ex_topmost; end; // tool window procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; Params. exstyle: = Params. exstyle or ws_ex_toolwindow; end; // visual procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; Params. exstyle: = Params. exstyle or ws_ex_clientedge; end; // procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; Params. style: = Params. style and not (ws_minimizebox or ws_maximizebox); Params. exstyle: = Params. exstyle or ws_ex_contexthelp; end; // hide the title bar procedure tform1.createparams (VAR Params: tcreateparams); begin inherited; Params. style: = ws_dlgframe or ws_popup; end;
 
  
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.