Recent

Author Topic: private procedure  (Read 2845 times)

shs

  • Sr. Member
  • ****
  • Posts: 310
private procedure
« on: October 10, 2017, 10:32:45 am »
hi i had to make make some private procedure but when i write the procedure in the private section the procedure is not automatically created below.
Code: Pascal  [Select][+][-]
  1. unit Unit1;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. interface
  6.  
  7. uses
  8.   Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;
  9.  
  10. type
  11.   TForm1 = class(TForm)
  12.   private
  13.     procedure something;
so after i did that i want the procedure Tform1.something to automatically created below but it doesn't. how can i make that happen?

rvk

  • Hero Member
  • *****
  • Posts: 6163
Re: private procedure
« Reply #1 on: October 10, 2017, 10:37:27 am »
Just press Ctrl+Shift+C when you are in the private section with your cursor.

Lazarus will automatically create the procedure for you.

Handoko

  • Hero Member
  • *****
  • Posts: 5153
  • My goal: build my own game engine using Lazarus
Re: private procedure
« Reply #2 on: October 11, 2017, 07:51:13 pm »

 

TinyPortal © 2005-2018