Changeset 148 for MicroThreading/Demo/UMainForm.lfm
- Timestamp:
- Jan 26, 2011, 2:16:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MicroThreading/Demo/UMainForm.lfm
r147 r148 1 object Form1: TForm12 Left = 2 351 object MainForm: TMainForm 2 Left = 263 3 3 Height = 510 4 Top = 444 Top = 156 5 5 Width = 798 6 6 Caption = 'MicroThreading demo' … … 11 11 OnDestroy = FormDestroy 12 12 LCLVersion = '0.9.31' 13 object Button 1: TButton13 object ButtonSchedulerStartStop: TButton 14 14 Left = 9 15 15 Height = 25 … … 17 17 Width = 103 18 18 Caption = 'Start scheduler' 19 OnClick = Button 1Click19 OnClick = ButtonSchedulerStartStopClick 20 20 TabOrder = 0 21 21 end … … 84 84 TabOrder = 3 85 85 end 86 object Button3: TButton87 Left = 1088 Height = 2589 Top = 20890 Width = 7591 Caption = 'Coroutine'92 OnClick = Button3Click93 TabOrder = 494 end95 86 object Label2: TLabel 96 87 Left = 10 … … 101 92 ParentColor = False 102 93 end 103 object Button 4: TButton94 object ButtonAddWorkers: TButton 104 95 Left = 10 105 96 Height = 25 106 Top = 48107 Width = 88108 Caption = ' Startworkers'109 OnClick = Button 4Click110 TabOrder = 597 Top = 72 98 Width = 104 99 Caption = 'Add workers' 100 OnClick = ButtonAddWorkersClick 101 TabOrder = 4 111 102 end 112 103 object SpinEdit1: TSpinEdit 113 Left = 2 16104 Left = 224 114 105 Height = 21 115 Top = 48116 Width = 82106 Top = 76 107 Width = 74 117 108 MaxValue = 100000 118 109 MinValue = 1 119 TabOrder = 6110 TabOrder = 5 120 111 Value = 200 121 112 end 122 object Button 5: TButton113 object ButtonGetMaxThread: TButton 123 114 Left = 168 124 115 Height = 25 … … 126 117 Width = 131 127 118 Caption = 'Get max TThread count' 128 OnClick = Button5Click 119 OnClick = ButtonGetMaxThreadClick 120 TabOrder = 6 121 end 122 object ButtonShowThreadId: TButton 123 Left = 40 124 Height = 25 125 Top = 160 126 Width = 123 127 Caption = 'Show thread id' 128 OnClick = ButtonShowThreadIdClick 129 129 TabOrder = 7 130 130 end 131 object Button6: TButton132 Left = 88133 Height = 25134 Top = 160135 Width = 75136 Caption = 'Button6'137 OnClick = Button6Click138 TabOrder = 8139 end140 131 object SpinEdit2: TSpinEdit 141 Left = 2 16132 Left = 224 142 133 Height = 21 143 134 Top = 13 144 Width = 82 145 TabOrder = 9 135 Width = 74 136 OnChange = SpinEdit2Change 137 TabOrder = 8 146 138 Value = 1 147 139 end … … 155 147 end 156 148 object Label4: TLabel 157 Left = 1 04149 Left = 120 158 150 Height = 14 159 Top = 48151 Top = 79 160 152 Width = 92 161 153 Caption = 'Microthread count:' 162 154 ParentColor = False 155 end 156 object Label5: TLabel 157 Left = 120 158 Height = 14 159 Top = 40 160 Width = 117 161 Caption = 'Logical processor count:' 162 ParentColor = False 163 end 164 object Label6: TLabel 165 Left = 248 166 Height = 14 167 Top = 40 168 Width = 13 169 Caption = ' ' 170 ParentColor = False 171 end 172 object ButtonClearMicroThreads: TButton 173 Left = 10 174 Height = 25 175 Top = 102 176 Width = 104 177 Caption = 'Clear microthreads' 178 OnClick = ButtonClearMicroThreadsClick 179 TabOrder = 9 163 180 end 164 181 object Timer1: TTimer
Note:
See TracChangeset
for help on using the changeset viewer.