Skip to content

Instantly share code, notes, and snippets.

View reinaldoacdc's full-sized avatar

Reinaldo Alberto reinaldoacdc

View GitHub Profile
unit JsonObjectHelper;
interface
uses DBXJSON, Character;
type TJsonObjectHelper = class helper for TJsonObject
public
//Helper to find a JSON pair based on the pair string part
function Get(const PairName: UnicodeString): TJSONPair; overload;
unit StringGridHelper;
interface
uses
Vcl.Grids;
type
TStringGridHelper = class helper for TStringGrid
@reinaldoacdc
reinaldoacdc / ApplicationHelper.pas
Last active June 27, 2019 01:19
ClassHelper for TApplication
unit ApplicationHelper;
interface
uses Vcl.Forms;
type
TApplicationHelper = class helper for TApplication
procedure OpenForm( frm :TForm; obj :TFormClass);
procedure CloseAllForms;
procedure Log(text: String);
@reinaldoacdc
reinaldoacdc / StringHelper.pas
Last active February 28, 2022 17:49
String Classhelper
unit StringHelper;
interface
type
TStringHelper = record helper for string
function OnlyNumbers :String;
end;
implementation