Changeset 23 for trunk/Application/UDataTypes.pas
- Timestamp:
- Jun 17, 2011, 9:52:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UDataTypes.pas
r22 r23 14 14 TDataType = class 15 15 CustomType: Integer; 16 Control: TWinControl; 16 17 function CreateControl(Owner: TComponent): TWinControl; virtual; 17 18 procedure SetupControl(Control: TWinControl); virtual; … … 256 257 ItemSelectForm.ObjectId := ObjectId; 257 258 ItemSelectForm.ShowModal; 259 TEditButton(Control).Text := IntToStr(ItemSelectForm.SelectedId) 258 260 end; 259 261 … … 264 266 TEditButton(Result).Button.Enabled := True; 265 267 TEditButton(Result).Button.OnClick := ButtonClickExecute; 268 Control := Result; 266 269 end; 267 270
Note:
See TracChangeset
for help on using the changeset viewer.