Changeset 830 for cprs/trunk/CPRS-Chart/fGraphSettings.pas
- Timestamp:
- Jul 7, 2010, 4:51:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/fGraphSettings.pas
r456 r830 5 5 uses 6 6 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 ComCtrls, StdCtrls, ExtCtrls, CheckLst, Math, ORCtrls, ORFn, uGraphs; 7 ComCtrls, StdCtrls, ExtCtrls, CheckLst, Math, ORCtrls, ORFn, uCore, uGraphs, fBase508Form, 8 VA508AccessibilityManager; 8 9 9 10 type 10 TfrmGraphSettings = class(T Form)11 TfrmGraphSettings = class(TfrmBase508Form) 11 12 brnClear: TButton; 12 13 btnAll: TButton; … … 43 44 bvlMid: TBevel; 44 45 lstOptions: TListBox; 46 cboDateRangeOutpatient: TORComboBox; 47 cboDateRangeInpatient: TORComboBox; 48 lblOutpatient: TLabel; 49 lblInpatient: TLabel; 45 50 procedure FormCreate(Sender: TObject); 46 51 procedure FormShow(Sender: TObject); … … 68 73 69 74 private 70 { Private declarations }71 75 FHintPauseTime: integer; 72 76 public 73 { Public declarations }74 77 procedure wmNCLButtonDown(var Msg: TWMNCLButtonDown); message WM_NCLBUTTONDOWN; 78 procedure ChangeSettings(aGraphSetting: TGraphSetting); 79 procedure ChangeSources(DisplaySource: TStrings); 80 procedure Conversion(conv: integer); 81 procedure SetSettings(aGraphSetting: TGraphSetting); 82 procedure SetSources(aList, DisplaySource: TStrings); 83 procedure GetTypeList(aList: TStrings); 75 84 end; 76 85 77 86 var 78 87 frmGraphSettings: TfrmGraphSettings; 88 79 89 procedure DialogOptionsGraphSettings(topvalue, leftvalue, fontsize: integer; 80 90 var actiontype: boolean); … … 88 98 89 99 uses 90 rGraphs ;100 rGraphs, fGraphData, VAUtils; 91 101 92 102 procedure DialogOptionsGraphSettings(topvalue, leftvalue, fontsize: integer; … … 94 104 var 95 105 FGraphSetting: TGraphSetting; 96 aList,FSources, AllTypes: TStrings;106 FSources, AllTypes: TStrings; 97 107 i, conv: integer; 98 aSettings, dfntype, listline, settings, settings1, t1, t2: string; 99 begin 100 aList := TStringList.Create; 101 FastAssign(rpcGetGraphSettings, aList); 102 if aList.Count < 1 then 103 begin 104 showmessage('CPRS is not configured for graphing.'); 105 aList.Free; 108 aSettings, dfntype, listline, settings, settings1: string; 109 begin 110 settings := GetCurrentSetting; 111 settings1 := GetPublicSetting; 112 if settings1 = '' then 113 begin 114 ShowMsg(TXT_NOGRAPHING); 106 115 exit; 107 116 end; 108 t1 := aList[0]; t2 := aList[1]; // t1 are personal, t2 public settings109 if length(t1) > 0 then settings := t1110 else settings := t2;111 SetPiece(settings, '|', 8, Piece(t2, '|', 8));112 117 settings1 := Piece(settings, '|', 1); 113 118 Alltypes := TStringList.Create; 114 FastAssign( rpcGetTypes('0', false), AllTypes);119 FastAssign(GtslAllTypes, AllTypes); 115 120 for i := 0 to AllTypes.Count - 1 do 116 121 begin … … 132 137 DialogGraphSettings(fontsize, actiontype, FGraphSetting, FSources, conv, aSettings); 133 138 FGraphSetting.Free; 134 aList.Free;135 139 FSources.Free; 140 AllTypes.Free; 136 141 end; 137 142 … … 139 144 aGraphSetting: TGraphSetting; DisplaySource: TStrings; var conv: integer; var aSettings: string); 140 145 var 141 needtoadd, turnon: boolean;142 i, j: integer;143 dfntype, dsdisplay, dsitem, dsnum, filename, filenum, listitem, listline, t1, t2, value: string;144 146 aList: TStrings; 145 147 frmGraphSettings: TfrmGraphSettings; … … 152 154 with frmGraphSettings do 153 155 begin 156 if displaysource.Count > 99999 then exit; 157 FastAssign(rpcGetGraphDateRange('OR_GRAPHS'), cboDateRangeOutpatient.Items); 158 if cboDateRangeOutpatient.Items.Count > 0 then 159 cboDateRangeOutpatient.Items.Delete(0); 160 FastAssign(cboDateRangeOutpatient.Items, cboDateRangeInpatient.Items); 154 161 FastAssign(rpcGetGraphSettings, aList); 155 t1 := aList[0]; t2 := aList[1]; // t1 are personal, t2 public settings 156 if length(t1) = 0 then t1 := t2; 157 SetPiece(t1, '|', 8, Piece(t2,'|', 8)); 158 btnPersonal.Hint := t1; 159 btnPublic.Hint := t2; 160 aList.Clear; 161 FastAssign(rpcGetTypes('0', false), aList); 162 for i := 0 to aList.Count -1 do 163 begin 164 listline := aList[i]; 165 dfntype := UpperCase(Piece(listline, '^', 1)); 166 SetPiece(listline, '^', 1, dfntype); 167 aList[i] := listline; 168 end; 169 with lstSources.Items do 170 begin 171 Clear; 172 lstSourcesCopy.Items.Clear; 173 for i := 0 to aList.Count - 1 do 174 begin 175 listitem := aList[i]; 176 filenum := Piece(listitem, '^', 1); 177 filename := Piece(listitem, '^', 2); 178 Add(filename); 179 lstSourcesCopy.Items.Add(filename + '^' + filenum); 180 end; 181 with lstSourcesCopy do 182 for i := 0 to Items.Count - 1 do 183 begin 184 listitem := Items[i]; 185 filenum := Piece(listitem, '^', 2); 186 for j := 0 to DisplaySource.Count - 1 do 187 begin 188 dsitem := DisplaySource[j]; 189 dsnum := Piece(dsitem, '^', 1); 190 dsdisplay := Piece(dsitem, '^', 3); 191 if filenum = dsnum then 192 begin 193 if dsdisplay = '1' then 194 lstSources.Checked[i] := true; 195 break; 196 end; 197 end; 198 end; 199 end; 200 with aGraphSetting do 201 begin 202 OptionSettings := ''; 203 if Values then OptionSettings := OptionSettings + SETTING_VALUES; 204 if VerticalZoom then OptionSettings := OptionSettings + SETTING_VZOOM; 205 if HorizontalZoom then OptionSettings := OptionSettings + SETTING_HZOOM; 206 if View3D then OptionSettings := OptionSettings + SETTING_3D; 207 if Legend then OptionSettings := OptionSettings + SETTING_LEGEND; 208 if Lines then OptionSettings := OptionSettings + SETTING_LINES; 209 if Dates then OptionSettings := OptionSettings + SETTING_DATES; 210 if SortByType then OptionSettings := OptionSettings + SETTING_SORT; 211 if ClearBackground then OptionSettings := OptionSettings + SETTING_CLEAR; 212 if Gradient then OptionSettings := OptionSettings + SETTING_GRADIENT; 213 if Hints then OptionSettings := OptionSettings + SETTING_HINTS; 214 if StayOnTop then OptionSettings := OptionSettings + SETTING_TOP; 215 if FixedDateRange then OptionSettings := OptionSettings + SETTING_FIXED; 216 spnMaxGraphs.Position := MaxGraphs; 217 spnMinGraphHeight.Position := MinGraphHeight; 218 MaxSelect := Min(MaxSelectMax, MaxSelect); 219 if MaxSelect < MaxSelectMin then 220 MaxSelect := MaxSelectMin; 221 spnMaxSelect.Position := MaxSelect; 222 spnMaxSelect.Min := MaxSelectMin; 223 spnMaxSelect.Max := MaxSelectMax; 224 if SortByType then SortColumn := 1 else SortColumn := 0; 225 lstOptions.Tag := SortColumn; 226 if (SortColumn > 0) then 227 if Pos(SETTING_SORT, OptionSettings) = 0 then 228 OptionSettings := OptionSettings + SETTING_SORT; 229 for i := 0 to lstOptions.Items.Count - 1 do 230 begin 231 value := Piece(lstOptions.Items[i], '^', 2); 232 chklstOptions.Checked[i] := Pos(value, OptionSettings) > 0; 233 end; 234 end; 162 btnPersonal.Hint := GetPersonalSetting; 163 btnPublic.Hint := GetPublicSetting; 164 GetTypeList(aList); 165 SetSources(aList, DisplaySource); 166 SetSettings(aGraphSetting); 235 167 with spnMaxGraphs do 236 168 lblMaxGraphsRef.Caption := inttostr(Min) + ' to ' + inttostr(Max); … … 239 171 with spnMaxSelect do 240 172 lblMaxSelectRef.Caption := inttostr(Min) + ' to ' + inttostr(Max); 241 if conv = BIG_NUMBER then 242 begin 243 lblOptionsInfo.Visible := true; 244 frmGraphSettings.Caption := 'Graph Settings - Defaults Only'; 245 lblConversions.Enabled := false; 246 cboConversions.Enabled := false; 247 cboConversions.ItemIndex := 0; 248 cboConversions.Text := ''; 249 end 250 else 251 with cboConversions do 252 begin 253 lblOptionsInfo.Visible := false; 254 frmGraphSettings.Caption := 'Graph Settings'; 255 if btnPublicSave.Enabled = true then 256 begin 257 lblConversions.Enabled := true; 258 Enabled := true; 259 ItemIndex := conv; 260 Text := Items[ItemIndex]; 261 end 262 else 263 begin 264 lblConversions.Enabled := false; 265 cboConversions.Enabled := false; 266 cboConversions.ItemIndex := 0; 267 cboConversions.Text := ''; 268 end; 269 end; 173 Conversion(conv); 270 174 ResizeAnchoredFormToFont(frmGraphSettings); 271 175 ShowModal; … … 275 179 aSettings := btnClose.Hint; 276 180 conv := cboConversions.ItemIndex; 277 with lstSources do 278 begin 279 for i := 0 to Items.Count - 1 do 280 begin 281 needtoadd := false; 282 if Checked[i] then 283 needtoadd := true; 284 filename := Piece(lstSourcesCopy.Items[i], '^', 1); 285 filenum := Piece(lstSourcesCopy.Items[i], '^', 2); 286 for j := 0 to DisplaySource.Count - 1 do 287 begin 288 dsitem := DisplaySource[j]; 289 dsnum := Piece(dsitem, '^', 1); 290 if filenum = dsnum then 291 begin 292 needtoadd := false; 293 if Checked[i] then 294 DisplaySource[j] := filenum + '^' + filename + '^1' 295 else 296 DisplaySource[j] := filenum + '^' + filename + '^0'; 297 break; 298 end; 299 end; 300 if needtoadd then 301 DisplaySource.Add('*^' + filenum + '^' + filename + '^1'); 302 end; 303 end; 304 with aGraphSetting do 305 begin 306 MaxGraphs := spnMaxGraphs.Position; 307 MinGraphHeight := spnMinGraphHeight.Position; 308 MaxSelect := spnMaxSelect.Position; 309 MaxSelectMin := 1; 310 OptionSettings := ''; 311 with chklstOptions do 312 for i := 0 to Items.Count - 1 do 313 begin 314 value := Piece(lstOptions.Items[i], '^', 2); 315 turnon := Checked[i]; 316 if turnon then OptionSettings := OptionSettings + value; 317 if value = SETTING_VALUES then Values := turnon 318 else if value = SETTING_VZOOM then VerticalZoom := turnon 319 else if value = SETTING_HZOOM then HorizontalZoom := turnon 320 else if value = SETTING_3D then View3D := turnon 321 else if value = SETTING_LEGEND then Legend := turnon 322 else if value = SETTING_LINES then Lines := turnon 323 else if value = SETTING_DATES then Dates := turnon 324 else if value = SETTING_SORT then SortByType := turnon 325 else if value = SETTING_CLEAR then ClearBackground := turnon 326 else if value = SETTING_GRADIENT then Gradient := turnon 327 else if value = SETTING_HINTS then Hints := turnon 328 else if value = SETTING_FIXED then FixedDateRange := turnon 329 else if value = SETTING_TOP then StayOnTop := turnon; 330 end; 331 if SortByType then SortColumn := 1 else SortColumn := 0; 332 end; 181 ChangeSources(DisplaySource); 182 ChangeSettings(aGraphSetting); 333 183 end; 334 184 end; … … 336 186 frmGraphSettings.Release; 337 187 aList.Free; 188 end; 189 end; 190 191 procedure TfrmGraphSettings.ChangeSettings(aGraphSetting: TGraphSetting); 192 var 193 turnon: boolean; 194 i : integer; 195 value: string; 196 begin 197 with aGraphSetting do 198 begin 199 MaxGraphs := spnMaxGraphs.Position; 200 MinGraphHeight := spnMinGraphHeight.Position; 201 MaxSelect := spnMaxSelect.Position; 202 MaxSelectMin := 1; 203 OptionSettings := ''; 204 with chklstOptions do 205 for i := 0 to Items.Count - 1 do 206 begin 207 value := Piece(lstOptions.Items[i], '^', 2); 208 turnon := Checked[i]; 209 if turnon then OptionSettings := OptionSettings + value; 210 if value = SETTING_VALUES then Values := turnon 211 else if value = SETTING_VZOOM then VerticalZoom := turnon 212 else if value = SETTING_HZOOM then HorizontalZoom := turnon 213 else if value = SETTING_3D then View3D := turnon 214 else if value = SETTING_LEGEND then Legend := turnon 215 else if value = SETTING_LINES then Lines := turnon 216 else if value = SETTING_DATES then Dates := turnon 217 else if value = SETTING_SORT then SortByType := turnon 218 else if value = SETTING_CLEAR then ClearBackground := turnon 219 else if value = SETTING_GRADIENT then Gradient := turnon 220 else if value = SETTING_HINTS then Hints := turnon 221 else if value = SETTING_FIXED then FixedDateRange := turnon 222 else if value = SETTING_TURBO then Turbo := turnon 223 else if value = SETTING_TOP then StayOnTop := turnon; 224 end; 225 if SortByType then SortColumn := 1 else SortColumn := 0; 226 DateRangeOutpatient := cboDateRangeOutpatient.ItemID; 227 DateRangeInpatient := cboDateRangeInpatient.ItemID; 228 end; 229 end; 230 231 procedure TfrmGraphSettings.ChangeSources(DisplaySource: TStrings); 232 var 233 needtoadd: boolean; 234 i, j : integer; 235 filename, filenum, dsitem, dsnum: string; 236 begin 237 with lstSources do 238 begin 239 for i := 0 to Items.Count - 1 do 240 begin 241 needtoadd := false; 242 if Checked[i] then 243 needtoadd := true; 244 filename := Piece(lstSourcesCopy.Items[i], '^', 1); 245 filenum := Piece(lstSourcesCopy.Items[i], '^', 2); 246 for j := 0 to DisplaySource.Count - 1 do 247 begin 248 dsitem := DisplaySource[j]; 249 dsnum := Piece(dsitem, '^', 1); 250 if filenum = dsnum then 251 begin 252 needtoadd := false; 253 if Checked[i] then 254 DisplaySource[j] := filenum + '^' + filename + '^1' 255 else 256 DisplaySource[j] := filenum + '^' + filename + '^0'; 257 break; 258 end; 259 end; 260 if needtoadd then 261 DisplaySource.Add('*^' + filenum + '^' + filename + '^1'); 262 end; 263 end; 264 end; 265 266 procedure TfrmGraphSettings.Conversion(conv: integer); 267 begin 268 if conv = BIG_NUMBER then 269 begin 270 lblOptionsInfo.Visible := true; 271 frmGraphSettings.Caption := 'Graph Settings - Defaults Only'; 272 lblConversions.Enabled := false; 273 cboConversions.Enabled := false; 274 cboConversions.ItemIndex := 0; 275 cboConversions.Text := ''; 276 end 277 else 278 with cboConversions do 279 begin 280 lblOptionsInfo.Visible := false; 281 frmGraphSettings.Caption := 'Graph Settings'; 282 if btnPublicSave.Enabled = true then 283 begin 284 lblConversions.Enabled := true; 285 Enabled := true; 286 ItemIndex := conv; 287 Text := Items[ItemIndex]; 288 end 289 else 290 begin 291 lblConversions.Enabled := false; 292 cboConversions.Enabled := false; 293 cboConversions.ItemIndex := 0; 294 cboConversions.Text := ''; 295 end; 296 end; 297 end; 298 299 procedure TfrmGraphSettings.SetSettings(aGraphSetting: TGraphSetting); 300 var 301 i : integer; 302 value: string; 303 begin 304 with aGraphSetting do 305 begin 306 OptionSettings := ''; 307 if Values then OptionSettings := OptionSettings + SETTING_VALUES; 308 if VerticalZoom then OptionSettings := OptionSettings + SETTING_VZOOM; 309 if HorizontalZoom then OptionSettings := OptionSettings + SETTING_HZOOM; 310 if View3D then OptionSettings := OptionSettings + SETTING_3D; 311 if Legend then OptionSettings := OptionSettings + SETTING_LEGEND; 312 if Lines then OptionSettings := OptionSettings + SETTING_LINES; 313 if Dates then OptionSettings := OptionSettings + SETTING_DATES; 314 if SortByType then OptionSettings := OptionSettings + SETTING_SORT; 315 if ClearBackground then OptionSettings := OptionSettings + SETTING_CLEAR; 316 if Gradient then OptionSettings := OptionSettings + SETTING_GRADIENT; 317 if Hints then OptionSettings := OptionSettings + SETTING_HINTS; 318 if StayOnTop then OptionSettings := OptionSettings + SETTING_TOP; 319 if FixedDateRange then OptionSettings := OptionSettings + SETTING_FIXED; 320 spnMaxGraphs.Position := MaxGraphs; 321 spnMinGraphHeight.Position := MinGraphHeight; 322 MaxSelect := Min(MaxSelectMax, MaxSelect); 323 if MaxSelect < MaxSelectMin then 324 MaxSelect := MaxSelectMin; 325 spnMaxSelect.Position := MaxSelect; 326 spnMaxSelect.Min := MaxSelectMin; 327 spnMaxSelect.Max := MaxSelectMax; 328 cboDateRangeOutpatient.SelectByID(GetDefaultOutpatientDate); 329 cboDateRangeInpatient.SelectByID(GetDefaultInpatientDate); 330 if SortByType then SortColumn := 1 else SortColumn := 0; 331 lstOptions.Tag := SortColumn; 332 if (SortColumn > 0) then 333 if Pos(SETTING_SORT, OptionSettings) = 0 then 334 OptionSettings := OptionSettings + SETTING_SORT; 335 if Turbo then OptionSettings := OptionSettings + SETTING_TURBO; 336 if GraphPublicEditor or GraphTurboOn then 337 begin 338 lstOptions.Items.Add('Turbo^N'); 339 chklstOptions.Items.Add('Turbo'); 340 end; 341 for i := 0 to lstOptions.Items.Count - 1 do 342 begin 343 value := Piece(lstOptions.Items[i], '^', 2); 344 chklstOptions.Checked[i] := Pos(value, OptionSettings) > 0; 345 end; 346 end; 347 end; 348 349 procedure TfrmGraphSettings.SetSources(aList, DisplaySource: TStrings); 350 var 351 i, j : integer; 352 listitem, filenum, filename, dsitem, dsnum, dsdisplay: string; 353 begin 354 with lstSources.Items do 355 begin 356 Clear; 357 lstSourcesCopy.Items.Clear; 358 for i := 0 to aList.Count - 1 do 359 begin 360 listitem := aList[i]; 361 filenum := Piece(listitem, '^', 1); 362 filename := Piece(listitem, '^', 2); 363 Add(filename); 364 lstSourcesCopy.Items.Add(filename + '^' + filenum); 365 end; 366 with lstSourcesCopy do 367 for i := 0 to Items.Count - 1 do 368 begin 369 listitem := Items[i]; 370 filenum := Piece(listitem, '^', 2); 371 for j := 0 to DisplaySource.Count - 1 do 372 begin 373 dsitem := DisplaySource[j]; 374 dsnum := Piece(dsitem, '^', 1); 375 dsdisplay := Piece(dsitem, '^', 3); 376 if filenum = dsnum then 377 begin 378 if dsdisplay = '1' then 379 lstSources.Checked[i] := true; 380 break; 381 end; 382 end; 383 end; 384 end; 385 end; 386 387 procedure TfrmGraphSettings.GetTypeList(aList: TStrings); 388 var 389 i : integer; 390 dfntype, listline : string; 391 begin 392 FastAssign(GtslAllTypes, aList); 393 for i := 0 to aList.Count -1 do 394 begin 395 listline := aList[i]; 396 dfntype := UpperCase(Piece(listline, '^', 1)); 397 SetPiece(listline, '^', 1, dfntype); 398 aList[i] := listline; 338 399 end; 339 400 end; … … 368 429 end; 369 430 end; 431 Alltypes.Free; 370 432 end; 371 433 … … 374 436 i: integer; 375 437 begin 376 btnPublicSave.Enabled := rpcPublicEdit;438 btnPublicSave.Enabled := GraphPublicEditor; 377 439 lblConversions.Enabled := btnPublicSave.Enabled; 378 440 cboConversions.Enabled := btnPublicSave.Enabled; … … 424 486 settings := settings + txtMaxSelect.Text + '|'; 425 487 settings := settings + Piece(btnPublic.Hint, '|', 8) + '|'; 488 settings := settings + cboDateRangeOutpatient.ItemID + '|'; 489 settings := settings + cboDateRangeInpatient.ItemID + '|'; 426 490 Result := settings; 427 491 end; … … 445 509 spnMinGraphHeight.Tag := spnMinGraphHeight.Position; 446 510 spnMaxSelect.Tag := spnMaxSelect.Position; 511 cboDateRangeOutpatient.SelectByID(Piece(settings, '|', 9)); 512 cboDateRangeInpatient.SelectByID(Piece(settings, '|', 10)); 447 513 for i := 0 to lstOptions.Items.Count - 1 do 448 514 begin … … 518 584 if MessageDlg(info, mtConfirmation, [mbYes, mbNo], 0) <> mrYes then 519 585 begin 520 showmessage('No changes were made.');586 ShowMsg('No changes were made.'); 521 587 exit; 522 588 end; … … 532 598 btnPublic.Hint := settings; 533 599 end; 600 if length(btnPersonal.Hint) > 0 then 601 begin 602 SetDefaultInpatientDate(Piece(btnPersonal.Hint, '|', 10)); 603 SetDefaultOutpatientDate(Piece(btnPersonal.Hint, '|', 9)); 604 end 605 else 606 begin 607 SetDefaultInpatientDate(Piece(btnPublic.Hint, '|', 10)); 608 SetDefaultOutpatientDate(Piece(btnPublic.Hint, '|', 9)); 609 end; 534 610 end; 535 611 … … 537 613 Button: TUDBtnType); 538 614 begin 539 txtMaxGraphs.SetFocus;615 //txtMaxGraphs.SetFocus; 540 616 txtMaxGraphs.Tag := strtointdef(txtMaxGraphs.Text, spnMaxGraphs.Min); 541 617 end; … … 599 675 Button: TUDBtnType); 600 676 begin 601 txtMinGraphHeight.SetFocus;677 //txtMinGraphHeight.SetFocus; 602 678 txtMinGraphHeight.Tag := strtointdef(txtMinGraphHeight.Text, spnMinGraphHeight.Min); 603 679 end; … … 606 682 Button: TUDBtnType); 607 683 begin 608 txtMaxSelect.SetFocus;684 //txtMaxSelect.SetFocus; 609 685 txtMaxSelect.Tag := strtointdef(txtMaxSelect.Text, spnMaxSelect.Min); 610 686 end; … … 742 818 procedure TfrmGraphSettings.FormShow(Sender: TObject); 743 819 begin 744 if Caption = 'Graph Settings - Defaults Only' then745 btnPersonal.SetFocus;820 //if Caption = 'Graph Settings - Defaults Only' then 821 // btnPersonal.SetFocus; 746 822 FHintPauseTime := Application.HintHidePause; 747 823 Application.HintHidePause := 9000; // uses a longer hint pause time … … 780 856 spnMaxSelect.Hint := SHINT_MAX_ITEMS; 781 857 lblMaxSelectRef.Hint := SHINT_MAX_ITEMS; 858 lblOutpatient.Hint := SHINT_OUTPT; 859 cboDateRangeOutpatient.Hint := SHINT_OUTPT; 860 lblInpatient.Hint := SHINT_INPT; 861 cboDateRangeInpatient.Hint := SHINT_INPT; 782 862 lblConversions.Hint := SHINT_FUNCTIONS; 783 863 cboConversions.Hint := SHINT_FUNCTIONS; … … 790 870 Msg.Result := 0; // ignore biHelp border icon 791 871 AssignHints; 792 ShowM essage('Help is now available.' + #13 +872 ShowMsg('Help is now available.' + #13 + 793 873 'By pausing over a list or control, hints will appear.'); 794 874 end
Note:
See TracChangeset
for help on using the changeset viewer.