source: cprs/branches/HealthSevak-CPRS/CPRS-Lib/Hans SpellCheck/Demo/fHunSpell.dfm@ 1718

Last change on this file since 1718 was 1718, checked in by healthsevak, 9 years ago

Added few options to SpellChecker which persists beyond current session

File size: 6.3 KB
Line 
1object frmHunSpell: TfrmHunSpell
2 Left = 192
3 Top = 114
4 BorderStyle = bsDialog
5 Caption = 'SpellCheck based on open source HanSpell Engine'
6 ClientHeight = 516
7 ClientWidth = 737
8 Color = clBtnFace
9 Font.Charset = ANSI_CHARSET
10 Font.Color = clWindowText
11 Font.Height = -13
12 Font.Name = 'Tahoma'
13 Font.Style = []
14 OldCreateOrder = True
15 Position = poScreenCenter
16 OnActivate = FormActivate
17 OnClose = FormClose
18 OnCloseQuery = FormCloseQuery
19 OnCreate = FormCreate
20 PixelsPerInch = 96
21 TextHeight = 16
22 object lblDictionary: TLabel
23 Left = 11
24 Top = 3
25 Width = 116
26 Height = 16
27 Caption = 'Main &Dictionary File:'
28 FocusControl = edtDictionary
29 end
30 object lblDictionariesURL: TLabel
31 Left = 8
32 Top = 32
33 Width = 417
34 Height = 14
35 Cursor = crHandPoint
36 Hint = 'URL for compatible dictionaries for other languages'
37 Caption =
38 'http://archive.services.openoffice.org/pub/mirror/OpenOffice.org' +
39 '/contrib/dictionaries/'
40 Font.Charset = DEFAULT_CHARSET
41 Font.Color = clBlue
42 Font.Height = -11
43 Font.Name = 'Arial'
44 Font.Style = [fsItalic, fsUnderline]
45 ParentFont = False
46 ParentShowHint = False
47 ShowHint = True
48 OnClick = lblDictionariesURLClick
49 end
50 object pnlMisSpelled: TPanel
51 Left = 0
52 Top = 268
53 Width = 729
54 Height = 248
55 BevelOuter = bvNone
56 TabOrder = 4
57 object Label1: TLabel
58 Left = 11
59 Top = 26
60 Width = 176
61 Height = 16
62 Caption = '&Suggestions and Alternavtives:'
63 FocusControl = lstSuggestions
64 end
65 object Label4: TLabel
66 Left = 11
67 Top = 3
68 Width = 133
69 Height = 16
70 Caption = 'C&urrent Misspelt Word:'
71 FocusControl = edtMisSpeltWordForExtraHint
72 end
73 object lstSuggestions: TListBox
74 Left = 3
75 Top = 43
76 Width = 406
77 Height = 197
78 ItemHeight = 16
79 TabOrder = 1
80 OnDblClick = lstSuggestionsDblClick
81 end
82 object edtMisSpeltWordForExtraHint: TEdit
83 Left = 151
84 Top = 4
85 Width = 554
86 Height = 18
87 AutoSize = False
88 BorderStyle = bsNone
89 Color = clBtnFace
90 Font.Charset = ANSI_CHARSET
91 Font.Color = clRed
92 Font.Height = -13
93 Font.Name = 'Tahoma'
94 Font.Style = []
95 ParentFont = False
96 TabOrder = 0
97 Text = 'HighlightEdit'
98 Visible = False
99 end
100 object btnReplaceWith: TButton
101 Left = 452
102 Top = 171
103 Width = 110
104 Height = 25
105 Caption = '&Replace with ...'
106 TabOrder = 6
107 OnClick = btnReplaceWithClick
108 end
109 object btnChangeAll: TButton
110 Left = 452
111 Top = 127
112 Width = 110
113 Height = 25
114 Caption = 'Change &All'
115 TabOrder = 3
116 OnClick = btnChangeAllClick
117 end
118 object btnChange: TButton
119 Left = 452
120 Top = 84
121 Width = 110
122 Height = 25
123 Caption = '&Change'
124 TabOrder = 2
125 OnClick = btnChangeClick
126 end
127 object btnAddToDictionary: TButton
128 Left = 611
129 Top = 171
130 Width = 110
131 Height = 25
132 Caption = 'A&dd to Dictionary'
133 TabOrder = 8
134 OnClick = btnAddToDictionaryClick
135 end
136 object btnIgnoreAll: TButton
137 Left = 611
138 Top = 127
139 Width = 110
140 Height = 25
141 Caption = 'I&gnore All'
142 TabOrder = 5
143 OnClick = btnIgnoreAllClick
144 end
145 object btnIgnoreOnce: TButton
146 Left = 611
147 Top = 84
148 Width = 110
149 Height = 25
150 Caption = '&Ignore Once'
151 TabOrder = 4
152 OnClick = btnIgnoreOnceClick
153 end
154 object btnAbort: TButton
155 Left = 611
156 Top = 215
157 Width = 110
158 Height = 25
159 Caption = 'A&bort'
160 ModalResult = 3
161 TabOrder = 9
162 OnClick = btnAbortClick
163 end
164 object btnUndo: TButton
165 Left = 452
166 Top = 215
167 Width = 110
168 Height = 25
169 Caption = '&Undo'
170 TabOrder = 7
171 OnClick = btnUndoClick
172 end
173 end
174 object edtDictionary: TEdit
175 Left = 131
176 Top = 2
177 Width = 531
178 Height = 23
179 Font.Charset = ANSI_CHARSET
180 Font.Color = clWindowText
181 Font.Height = -11
182 Font.Name = 'Comic Sans MS'
183 Font.Style = []
184 ParentFont = False
185 ReadOnly = True
186 TabOrder = 1
187 OnEnter = edtDictionaryEnter
188 end
189 object btnSelectDict: TBitBtn
190 Left = 485
191 Top = 26
192 Width = 244
193 Height = 25
194 Caption = '&Browse for and select different dictionary'
195 TabOrder = 2
196 OnClick = btnSelectDictClick
197 end
198 object RichEdit1: TRichEdit
199 Left = 3
200 Top = 76
201 Width = 726
202 Height = 186
203 Lines.Strings = (
204 'Type orr Paste heree the text '
205 ' for which you wish to do the SpellCheck')
206 ScrollBars = ssBoth
207 TabOrder = 0
208 OnKeyDown = RichEdit1KeyDown
209 OnKeyUp = RichEdit1KeyUp
210 end
211 object btnStart: TButton
212 Left = 452
213 Top = 310
214 Width = 110
215 Height = 25
216 Caption = '&Start SpellCheck'
217 TabOrder = 3
218 OnClick = btnStartClick
219 end
220 object btnClose: TButton
221 Left = 611
222 Top = 310
223 Width = 110
224 Height = 25
225 Caption = 'C&lose'
226 ModalResult = 1
227 TabOrder = 5
228 Visible = False
229 OnClick = btnCloseClick
230 end
231 object cbIgnoreAllCaps: TCheckBox
232 Left = 131
233 Top = 54
234 Width = 178
235 Height = 17
236 Caption = 'Ignore words in &UpperCase'
237 TabOrder = 6
238 OnClick = cbIgnoreAllCapsClick
239 end
240 object cbIgnoreDigit: TCheckBox
241 Left = 339
242 Top = 53
243 Width = 166
244 Height = 17
245 Caption = 'Ignore words with &digits'
246 TabOrder = 7
247 OnClick = cbIgnoreDigitClick
248 end
249 object OpenDialog1: TOpenDialog
250 DefaultExt = '*.Dict'
251 FileName = 'en_US-large.dic'
252 Filter = 'HanSpell Dictionary & Aff file|*.dic'
253 Title = 'Specify Dictionary file (Corresponding *.aff file also required)'
254 Left = 668
255 Top = 65534
256 end
257 object SpellCheck1: TskaHunSpellChecker
258 Active = False
259 MisSpeltWord = edtMisSpeltWordForExtraHint
260 OnStart = SpellCheck1Start
261 OnStateChange = SpellCheck1StateChange
262 OnAbort = SpellCheck1Abort
263 SourceTextControl = RichEdit1
264 SuggestionList = lstSuggestions
265 Left = 368
266 Top = 104
267 end
268end
Note: See TracBrowser for help on using the repository browser.