Skip to content

lsjack93/blockui-vcl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Block User Interface for VCL Projects (Delphi)

Delphi Supported Versions Platforms

This package allows you to lock and unlock the user interface in a simple way.

Prerequisites

  • [Optional] For ease I recommend using the Boss for installation
    • Boss - Dependency Manager for Delphi

Installation using Boss (dependency manager for Delphi applications)

boss install github.com/viniciussanchez/blockui-vcl

Manual Installation

Add the following folders to your project, in Project > Options > Resource Compiler > Directories and Conditionals > Include file search path

../blockui-vcl/src

Getting Started

You need to use VCL.BlockUI.Intf and VCL.BlockUI

uses VCL.BlockUI.Intf, VCL.BlockUI;

How it works?

var
  BlockUI: IBlockUI;
begin
  BlockUI := TBlockUI.Create;
  >> Your code
end;

In the Create method you can tell which component you want to block:

BlockUI := TBlockUI.Create(Your component);

If not reported any component, the default is Application.MainForm

About

UI blocker for VCL projects (Delphi)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Pascal 100.0%