HasCaption - setting this property to false (including dynamic) allows you to remove the title bar from the form window, including the window state control buttons located on it;
StayOnTop - a property for a form, allows you to place it on top of all windows for which the same method is not applied (and at least for some time after the call, on top of all windows in the system in general);
AlphaBlend - a number from 0 to 254 specifying the degree of translucency of the form (works only in Windows 2000 and higher). A value of 0 corresponds to full transparency, when the window is not visible at all, 255 means no transparency, i.e. other windows through this window in this case do not "shine through" at all;
Menu - descriptor of the form menu (not 0 if the form window has a main menu at the top of the window);
Icon - window icon (for form or Applet);
IconLoad(inst, s) - loads the specified resource of the RT_ICON type and sets it as a window icon (Icon);
IconLoadCursor(inst, s) - loads a resource of type RT_CURSOR and sets it as a window icon (Icon);
MinimizeNormalAnimated - this procedure includes a special additional handler for the application minimization message for the application, in which the animation of the minimization process becomes more similar to what is observed in other applications. If this procedure is not called, then minimization occurs visually in a somewhat strange way (but the programmer may wish that the windows in his application were minimized without animation at all). When setting up a form in MCK, the form object has an additional MinimizeNormalAnimated property that determines whether to generate a call to this procedure in the form initialization code;
OnMinimize - an event for the form and applet, allows you to perform some actions when minimizing the window. For example, the handler can hide all windows of its application, and instead show the application icon in the system area of the taskbar (called the tray, tray - "tray"). This action is called "minimizing to tray" in slang;
OnMaximize - an event for the form that is triggered when the window is maximized;
OnRestore - event of restoring a window from a minimized state (for a form or applet);
OnClose - an event that is triggered when trying to close the window. If the Accept parameter is set to false in the event handler, then the window will not close (additionally, you can hide the window - for the user this will not differ much in the visible result, but the form object will not be destroyed, and next time it will be enough make it visible, this is the usual mechanism for working with dialogs);
IsMainWindow - checks if the given object is the main form of the application. As with the default VCL, the first form created automatically becomes the main form. Closing this form (usually) terminates the application (but there may be exceptions), minimizing this form leads to minimizing the entire application, etc .;
IsApplet - checks that the given object (forms) is exactly an applet (this method can be called, generally speaking, for any TControl object);
IsForm - checks that the given visual object is a form, i.e. a top-level window located directly on the desktop. This method is also suitable in the context of any window object, including a "control", but for some voluntaristic reasons I put it here;
SimpleStatusText - simple text displayed in the status bar (assigning a value to this property creates a status bar with a single panel). In the KOL form, if any non-empty text is added to the status bar, the form is increased in height and the status bar appears. When you assign an empty string to this property, the form is reduced in height and the status bar disappears. In order for the form to have at least an empty status line initially, it is necessary to assign a string containing spaces to this property during its initialization (one space is enough);
StatusText[i] - text in the i-th panel of the status line (i = 0..254);
StatusCtl - returns a pointer to a special object associated with the status bar (the object itself is created automatically when the StatusText, SimpleStatusText properties change, and is destroyed when the status bar disappears);
StatusWindow - handle to the status bar window;
RemoveStatus - removes the status bar (reducing the shape in height);
StatusPanelCount - the number of panels in the status bar;
StatusPanelRightX[i] - the right border of the i-th panel in the status bar;
SizeGrip - the presence of a dashed element in the lower right corner of the status bar, which can be used to resize the shape with the mouse. This property should be set before creating the form window.
|
I would like to draw your attention to the Visible property, which is common for all visual objects. When it comes to a standalone applet object that does not match the main application form, this property refers to the visibility of the application button on the taskbar. Therefore, the question of how to remove this button from the taskbar is solved in KOL by setting the Visible property to the Applet variable. But, as I said, the applet must be a special object, and not the same as the main form. |