BpcSMScriptLibrary 10
TTIWDBAdvWebGrid Manipulation Routines
Language: Delphi 7 - 2007
This library requires the TMS TIWDBAdvWebGrid (from TMS - http://tmssoftware.com/ ) and the Intraweb suite (from AtoZ - http://www.atozedsoftware.com/index.en.asp .
It is distributable in source form only free of charge and on request. It will not work without the TMS and Intraweb components.
////////////////////////////////////////////////////////////////////////////////////////// //////// TTIWDBAdvWebGrid Routines ////////////////////////////////////////////////////////////////////////////////////////// interface uses Classes, Types, DB, IWDBAdvWebGrid; // Returns the index of a TTIWDBAdvGrid column given the name. function bpcGetTIAdvGridColumnIndex( ColCollection: TTIWDBWebGridColumns; ColName : string) : Integer; // Returns the TTIWDBAdvGrid column given the name. function bpcGetTIAdvGridColumn( ColCollection: TTIWDBWebGridColumns; ColName : string) : TTIWDBWebGridColumn; // HTML Edit control can't handle form and div tags - temporary fix (there is a better one in the libraries) //##JB Replace with bpcsmLib routine function bpcStripFormTag( myHTMLString : string) : string; // HTML Edit control can't handle form and div tags - temporary fix (there is a better one in the libraries) //##JB Replace with bpcsmLib routine function bpcRebuildStripFormTag( myHTMLString : string) : string;