Ignore:
Timestamp:
Oct 8, 2012, 8:48:16 AM (12 years ago)
Author:
chronos
Message:
  • Upraveno: TWebSession zobecněno pro možnost implementace více modulů s obsluhou vstupní stránky.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UWebObjects.pas

    r100 r103  
    6767    ClassId: string;
    6868    function AddNewGroup: TQueryFormGroup;
    69     function AddNewAction: TQueryAction;
     69    function AddNewAction(Caption, Action: string): TQueryAction;
    7070    procedure Load(Items: TDictionaryStringString);
    7171    constructor Create;
     
    192192end;
    193193
    194 function TQueryForm.AddNewAction: TQueryAction;
     194function TQueryForm.AddNewAction(Caption, Action: string): TQueryAction;
    195195begin
    196196  Result := TQueryAction(Actions.AddNew(TQueryAction.Create));
     197  Result.Caption := Caption;
     198  Result.Action := Action;
    197199end;
    198200
Note: See TracChangeset for help on using the changeset viewer.