Skip to content

About

UI blocker for VCL projects (Delphi)

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages