fpmdebug.inc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. $Id$
  3. This file is part of the Free Pascal Integrated Development Environment
  4. Copyright (c) 1998 by Berczi Gabor
  5. Debug menu entries
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. procedure TIDEApp.DoUserScreenWindow;
  13. begin
  14. if UserScreenWindow=nil then
  15. begin
  16. New(UserScreenWindow, Init(UserScreen, SearchFreeWindowNo));
  17. Desktop^.Insert(UserScreenWindow);
  18. end;
  19. UserScreenWindow^.MakeFirst;
  20. end;
  21. procedure TIDEApp.DoUserScreen;
  22. begin
  23. if UserScreen=nil then
  24. begin
  25. ErrorBox('Sorry, user screen not available.',nil);
  26. Exit;
  27. end;
  28. ShowUserScreen;
  29. Keyboard.GetKeyEvent;
  30. while (Keyboard.PollKeyEvent<>0) do
  31. Keyboard.GetKeyEvent;
  32. ShowIDEScreen;
  33. end;
  34. {
  35. $Log$
  36. Revision 1.3 1999-02-02 16:41:40 peter
  37. + automatic .pas/.pp adding by opening of file
  38. * better debuggerscreen changes
  39. Revision 1.2 1999/01/21 11:54:16 peter
  40. + tools menu
  41. + speedsearch in symbolbrowser
  42. * working run command
  43. Revision 1.1 1998/12/28 15:47:47 peter
  44. + Added user screen support, display & window
  45. + Implemented Editor,Mouse Options dialog
  46. + Added location of .INI and .CFG file
  47. + Option (INI) file managment implemented (see bottom of Options Menu)
  48. + Switches updated
  49. + Run program
  50. }