Skriptovací jazyk - objekty: Porovnání verzí

Z K.A.P.
Skočit na navigaciSkočit na vyhledávání
m
m
Řádek 18: Řádek 18:
 
|-valign=top
 
|-valign=top
 
|''' [[Objekt TKAPCommunicator|TKAPCommunicator]]'''||umožňuje komunikaci s MaximObjServerem
 
|''' [[Objekt TKAPCommunicator|TKAPCommunicator]]'''||umožňuje komunikaci s MaximObjServerem
 +
|-valign=top
 +
|''' [[Objekt CallMethodBtrTable|CallMethodBtrTable]]'''||  
 
|}
 
|}
  
  
    AddConstructor('constructor Create', CallMethodBtrTable);
+
AddConstructor('constructor Create', CallMethodBtrTable);
  
    AddMethod('function BookmarkValid(Bookmark: TBookmark): Boolean;', CallMethodBtrTable);
+
function BookmarkValid(Bookmark: TBookmark): Boolean;, CallMethodBtrTable);
    AddMethod('function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer;', CallMethodBtrTable);
+
function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer;, CallMethodBtrTable);
    AddMethod('function ControlsDisabled: Boolean;', CallMethodBtrTable);
+
function ControlsDisabled: Boolean;, CallMethodBtrTable);
    AddMethod('function CopyFields(Source: TDataSet): Integer;', CallMethodBtrTable);
+
function CopyFields(Source: TDataSet): Integer;, CallMethodBtrTable);
    AddMethod('function FieldByName(const FieldName: String): TField;', CallMethodBtrTable);
+
function FieldByName(const FieldName: String): TField;, CallMethodBtrTable);
    AddMethod('function FindField(const FieldName: String): TField;', CallMethodBtrTable);
+
function FindField(const FieldName: String): TField;, CallMethodBtrTable);
    AddMethod('function FindKey(const KeyValues: array of const): Boolean;', CallMethodBtrTable);
+
function FindKey(const KeyValues: array of const): Boolean;, CallMethodBtrTable);
    AddMethod('function GetBookmark: TBookmark;', CallMethodBtrTable);
+
function GetBookmark: TBookmark;, CallMethodBtrTable);
    AddMethod('function GetBtrRecordLength: LongInt;', CallMethodBtrTable);
+
function GetBtrRecordLength: LongInt;, CallMethodBtrTable);
    AddMethod('function GotoKey: Boolean;', CallMethodBtrTable);
+
function GotoKey: Boolean;, CallMethodBtrTable);
    AddMethod('function IsEmpty: Boolean;', CallMethodBtrTable);
+
function IsEmpty: Boolean;, CallMethodBtrTable);
    AddMethod('function IsLinkedTo(DataSource: TDataSource): Boolean;', CallMethodBtrTable);
+
function IsLinkedTo(DataSource: TDataSource): Boolean;, CallMethodBtrTable);
    AddMethod('function IsRangeApplied: Boolean;', CallMethodBtrTable);
+
function IsRangeApplied: Boolean;, CallMethodBtrTable);
    AddMethod('function IsSequenced: Boolean;', CallMethodBtrTable);
+
function IsSequenced: Boolean;, CallMethodBtrTable);
    AddMethod('function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean;', CallMethodBtrTable);
+
function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean;, CallMethodBtrTable);
    AddMethod('function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant;', CallMethodBtrTable);
+
function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant;, CallMethodBtrTable);
    AddMethod('function MoveBy(Distance: Integer): Integer;', CallMethodBtrTable);
+
function MoveBy(Distance: Integer): Integer;, CallMethodBtrTable);
    AddMethod('function UpdateStatus: TUpdateStatus;', CallMethodBtrTable);
+
function UpdateStatus: TUpdateStatus;, CallMethodBtrTable);
    AddMethod('procedure Append;', CallMethodBtrTable);
+
procedure Append;, CallMethodBtrTable);
    AddMethod('procedure AppendRecord(const Values: array of const);', CallMethodBtrTable);
+
procedure AppendRecord(const Values: array of const);, CallMethodBtrTable);
    AddMethod('procedure ApplyRange;', CallMethodBtrTable);
+
procedure ApplyRange;, CallMethodBtrTable);
    AddMethod('procedure Cancel;', CallMethodBtrTable);
+
procedure Cancel;, CallMethodBtrTable);
    AddMethod('procedure CancelRange;', CallMethodBtrTable);
+
procedure CancelRange;, CallMethodBtrTable);
    AddMethod('procedure ClearFields;', CallMethodBtrTable);
+
procedure ClearFields;, CallMethodBtrTable);
    AddMethod('procedure Close;', CallMethodBtrTable);
+
procedure Close;, CallMethodBtrTable);
    AddMethod('procedure CopyTable(const NewTableName: string);', CallMethodBtrTable);
+
procedure CopyTable(const NewTableName: string);, CallMethodBtrTable);
    AddMethod('procedure CreateTable(Rewrite: Boolean);', CallMethodBtrTable);
+
procedure CreateTable(Rewrite: Boolean);, CallMethodBtrTable);
    AddMethod('procedure Delete;', CallMethodBtrTable);
+
procedure Delete;, CallMethodBtrTable);
    AddMethod('procedure DeleteTable;', CallMethodBtrTable);
+
procedure DeleteTable;, CallMethodBtrTable);
    AddMethod('procedure DisableControls;', CallMethodBtrTable);
+
procedure DisableControls;, CallMethodBtrTable);
    AddMethod('procedure Edit;', CallMethodBtrTable);
+
procedure Edit;, CallMethodBtrTable);
    AddMethod('procedure EmptyTable;', CallMethodBtrTable);
+
procedure EmptyTable;, CallMethodBtrTable);
    AddMethod('procedure EnableControls;', CallMethodBtrTable);
+
procedure EnableControls;, CallMethodBtrTable);
    AddMethod('procedure First;', CallMethodBtrTable);
+
procedure First;, CallMethodBtrTable);
    AddMethod('procedure FreeBookmark(Bookmark: TBookmark);', CallMethodBtrTable);
+
procedure FreeBookmark(Bookmark: TBookmark);, CallMethodBtrTable);
    AddMethod('procedure GetDetailDataSets(List: TList);', CallMethodBtrTable);
+
procedure GetDetailDataSets(List: TList);, CallMethodBtrTable);
    AddMethod('procedure GetDetailLinkFields(MasterFields, DetailFields: TList);', CallMethodBtrTable);
+
procedure GetDetailLinkFields(MasterFields, DetailFields: TList);, CallMethodBtrTable);
    AddMethod('procedure GetFieldList(List: TList; const FieldNames: String);', CallMethodBtrTable);
+
procedure GetFieldList(List: TList; const FieldNames: String);, CallMethodBtrTable);
    AddMethod('procedure GetFieldNames(List: TStrings);', CallMethodBtrTable);
+
procedure GetFieldNames(List: TStrings);, CallMethodBtrTable);
    AddMethod('procedure GetIndexInfo;', CallMethodBtrTable);
+
procedure GetIndexInfo;, CallMethodBtrTable);
    AddMethod('procedure GetIndexNames(List: TStrings);', CallMethodBtrTable);
+
procedure GetIndexNames(List: TStrings);, CallMethodBtrTable);
    AddMethod('procedure GotoBookmark(Bookmark: TBookmark);', CallMethodBtrTable);
+
procedure GotoBookmark(Bookmark: TBookmark);, CallMethodBtrTable);
    AddMethod('procedure GotoCurrent(Table: TBtrTable);', CallMethodBtrTable);
+
procedure GotoCurrent(Table: TBtrTable);, CallMethodBtrTable);
    AddMethod('procedure GotoNearest;', CallMethodBtrTable);
+
procedure GotoNearest;, CallMethodBtrTable);
    AddMethod('procedure CheckBrowseMode;', CallMethodBtrTable);
+
procedure CheckBrowseMode;, CallMethodBtrTable);
    AddMethod('procedure Insert;', CallMethodBtrTable);
+
procedure Insert;, CallMethodBtrTable);
    AddMethod('procedure InsertRecord(const Values: array of const);', CallMethodBtrTable);
+
procedure InsertRecord(const Values: array of const);, CallMethodBtrTable);
    AddMethod('procedure Last;', CallMethodBtrTable);
+
procedure Last;, CallMethodBtrTable);
    AddMethod('procedure Next;', CallMethodBtrTable);
+
procedure Next;, CallMethodBtrTable);
    AddMethod('procedure Open;', CallMethodBtrTable);
+
procedure Open;, CallMethodBtrTable);
    AddMethod('procedure Post;', CallMethodBtrTable);
+
procedure Post;, CallMethodBtrTable);
    AddMethod('procedure Prior;', CallMethodBtrTable);
+
procedure Prior;, CallMethodBtrTable);
    AddMethod('procedure Refresh;', CallMethodBtrTable);
+
procedure Refresh;, CallMethodBtrTable);
    AddMethod('procedure Resync(Mode: TResyncMode);', CallMethodBtrTable);
+
procedure Resync(Mode: TResyncMode);, CallMethodBtrTable);
    AddMethod('procedure SetKey;', CallMethodBtrTable);
+
procedure SetKey;, CallMethodBtrTable);
    AddMethod('procedure SetRange(const StartValues, EndValues: array of const);', CallMethodBtrTable);
+
procedure SetRange(const StartValues, EndValues: array of const);, CallMethodBtrTable);
 
   end;
 
   end;

Verze z 28. 11. 2012, 12:10

Objekt Popis
Settings.Values['INI.fieldname'] vrací hodnoty polí z tabulky SKLADINI
Settings.Values['KFG.fieldname'] vrací hodnoty polí z tabulky SKLADKFG
Settings.Values['USER.fieldname'] vrací hodnoty polí z tabulky SYSTUSER (fieldname je jméno pole z dané tabulky dle struktury souborů)
Settings.Values['DPH.ProcentoN'] vrací sazbu DPH (N je od 0 do 6)
Settings.Values['DPH.OznaceniN'] vrací krátké označení DPH (N je od 0 do 6)
Settings.Values['DPH.PasmoN'] vrací pásmo DPH (N je od 0 do 6)(všechny hodnoty dle aktuálně přihlášeného uživatele a databáze)
Settings.Values['VAR.promenna'] vrací hodnotu INI proměnné dle nastavení proměnných
TKAPCommunicator umožňuje komunikaci s MaximObjServerem
CallMethodBtrTable  


AddConstructor('constructor Create', CallMethodBtrTable);

function BookmarkValid(Bookmark: TBookmark): Boolean;, CallMethodBtrTable); function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer;, CallMethodBtrTable); function ControlsDisabled: Boolean;, CallMethodBtrTable); function CopyFields(Source: TDataSet): Integer;, CallMethodBtrTable); function FieldByName(const FieldName: String): TField;, CallMethodBtrTable); function FindField(const FieldName: String): TField;, CallMethodBtrTable); function FindKey(const KeyValues: array of const): Boolean;, CallMethodBtrTable); function GetBookmark: TBookmark;, CallMethodBtrTable); function GetBtrRecordLength: LongInt;, CallMethodBtrTable); function GotoKey: Boolean;, CallMethodBtrTable); function IsEmpty: Boolean;, CallMethodBtrTable); function IsLinkedTo(DataSource: TDataSource): Boolean;, CallMethodBtrTable); function IsRangeApplied: Boolean;, CallMethodBtrTable); function IsSequenced: Boolean;, CallMethodBtrTable); function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean;, CallMethodBtrTable); function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant;, CallMethodBtrTable); function MoveBy(Distance: Integer): Integer;, CallMethodBtrTable); function UpdateStatus: TUpdateStatus;, CallMethodBtrTable); procedure Append;, CallMethodBtrTable); procedure AppendRecord(const Values: array of const);, CallMethodBtrTable); procedure ApplyRange;, CallMethodBtrTable); procedure Cancel;, CallMethodBtrTable); procedure CancelRange;, CallMethodBtrTable); procedure ClearFields;, CallMethodBtrTable); procedure Close;, CallMethodBtrTable); procedure CopyTable(const NewTableName: string);, CallMethodBtrTable); procedure CreateTable(Rewrite: Boolean);, CallMethodBtrTable); procedure Delete;, CallMethodBtrTable); procedure DeleteTable;, CallMethodBtrTable); procedure DisableControls;, CallMethodBtrTable); procedure Edit;, CallMethodBtrTable); procedure EmptyTable;, CallMethodBtrTable); procedure EnableControls;, CallMethodBtrTable); procedure First;, CallMethodBtrTable); procedure FreeBookmark(Bookmark: TBookmark);, CallMethodBtrTable); procedure GetDetailDataSets(List: TList);, CallMethodBtrTable); procedure GetDetailLinkFields(MasterFields, DetailFields: TList);, CallMethodBtrTable); procedure GetFieldList(List: TList; const FieldNames: String);, CallMethodBtrTable); procedure GetFieldNames(List: TStrings);, CallMethodBtrTable); procedure GetIndexInfo;, CallMethodBtrTable); procedure GetIndexNames(List: TStrings);, CallMethodBtrTable); procedure GotoBookmark(Bookmark: TBookmark);, CallMethodBtrTable); procedure GotoCurrent(Table: TBtrTable);, CallMethodBtrTable); procedure GotoNearest;, CallMethodBtrTable); procedure CheckBrowseMode;, CallMethodBtrTable); procedure Insert;, CallMethodBtrTable); procedure InsertRecord(const Values: array of const);, CallMethodBtrTable); procedure Last;, CallMethodBtrTable); procedure Next;, CallMethodBtrTable); procedure Open;, CallMethodBtrTable); procedure Post;, CallMethodBtrTable); procedure Prior;, CallMethodBtrTable); procedure Refresh;, CallMethodBtrTable); procedure Resync(Mode: TResyncMode);, CallMethodBtrTable); procedure SetKey;, CallMethodBtrTable); procedure SetRange(const StartValues, EndValues: array of const);, CallMethodBtrTable);

 end;