//See this example. For enabling button use MF_ENABLED instead of MF_GRAYED.
procedure TForm1.Button1Click(Sender: TObject);
EnableMenuItem(AppSysMenu,SC_CLOSE,MF_BYCOMMAND or Flag);
A portal that has dedication and concentration in the development of computer programming and more
resource for help people such as open project, jobs, question & answer, additional tools, and many more.
Collection of various kinds of code programming language from desktop to web programming.