# Antiban Form This page is about {ref}`Antiban` dedicated `TLazForm` utilities. This is meant to be used with {ref}`TScriptForm` with {ref}`TScriptForm.CreateAntibanTab` and will setup a a `TLazTabSheet` on it with several controls to configure {ref}`Antiban`: ```{figure} ../../images/antibanform.png ``` - - - ## TAntibanFormHelper The `TAntibanFormHelper` type is, as it's name implies a helper type for the `Antiban Form`. It has a lot of methods and callbacks that are hidden by default and won't be mentioned on this page because they are internal methods you shouldn't touch. Do feel free to read the source code though if you so desire. - - - ## AntibanForm variable Global {ref}`TInventoryFormHelper` variable. - - - ## ScriptForm CreateInventoryTab ```pascal function TScriptForm.CreateInventoryTab(): TLazTabSheet; ``` Sets up a `TLazTabSheet` on your `TScriptForm` to configure your `Inventory Layouts`. Example: ```pascal {$I WaspLib/osrs.simba} var form: TScriptForm; begin form.Setup(); form.CreateInventoryTab(); form.Run(); end. ``` ```{figure} ../../images/inventoryform.gif ``` For a more complete example check out the file `Simba/Includes/WaspLib/examples/inventory_form.simba`.