::: µ¨ÆÄÀÌ Tip&Trick :::

µ¨ÆÄÀÌ Tip&Trick ¼º°Ý¿¡ ¸ÂÁö ¾Ê´Â ±¤°í,ºñ¹æ,Áú¹®ÀÇ ±ÛÀº Áï½Ã »èÁ¦Çϸç
³»¿ëÀ» º¹»çÇÏ¿© »ç¿ëÇÒ °æ¿ì ¹Ýµå½Ã ÀÌ°÷(http://www.howto.pe.kr)À» Ãâó·Î ¸í½ÃÇÏ¿© ÁÖ¼¼¿ä


Category

  ±è¿µ´ë(2005-02-11 18:21:11, Hit : 9329, Vote : 1495
 http://www.howto.pe.kr
 RichEdit 2.0 ÁÙ°£°Ý Á¶Á¤

// RichEditÀÇ ÇÑ±Û ÆùÆ®ÀÇ °æ¿ì ÁÙ°£°ÝÀÌ Á¼Àº °æÇâÀÌ ÀÖ´Ù. ¾Æ·¡´Â À̸¦ ¿øÇÏ´Â ¸¸Å­ ´Ã¸®´Â ¹æ¹ýÀÌ´Ù
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ComCtrls, RichEdit;

type
  TForm1 = class(TForm)
    RichEdit1: TRichEdit;
    Button1: TButton;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
var
  format: TCharFormat;
begin
  RichEdit1.SelectAll; // ¹Ýµå½Ã ¼±ÅÃÇØ¾ß ÇÑ´Ù
  FillChar(format, sizeof(format), 0);
  With format Do
  Begin
    cbSize  := Sizeof(format);
    dwMask  := CFM_OFFSET;
    yOffset := 60; // Ŭ¼ö·Ï Çà°£°Ý ³Ð¾îÁü
  End;
  RichEdit1.Perform(EM_SETCHARFORMAT, SCF_SELECTION, LongInt(@format));
  RichEdit1.SelLength := 0;
end;

end.





971   [À©µµ¿ìÁî API] ÀÛ¾÷ Ç¥½ÃÁÙ¿¡ º¸ÀÌ´Â ÇÁ·Î±×·¥ÀÇ ¾ÆÀÌÄÜ Á¤º¸  ±è¿µ´ë 2008/12/09 7549 1707
970   [À©µµ¿ìÁî API] ½ÇÇà ÆÄÀÏÀÇ ¾ÆÀÌÄÜ ¹Ù²Ù±â  ±è¿µ´ë 2008/11/27 9514 1609
969   [³×Æ®¿÷/ÀÎÅͳÝ] TClientSocket ¿¡ Local IP ¹ÙÀεùÇÏ±â  ±è¿µ´ë 2008/11/25 7606 1751
968   [¾Ë°í¸®Áò] Boyer-Moore-Horspool Text Searching  ±è¿µ´ë 2008/11/24 5841 1543
967   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] Tab, Shift+Tab Å° À̺¥Æ® »ç¿ëÇÏ±â  ±è¿µ´ë 2008/11/21 5900 1617
966   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] TStringList vs. THashedStringList  ±è¿µ´ë 2008/11/04 6426 1589
965   [½Ã½ºÅÛ] ÇÁ·Î¼¼½º°¡ ¿øµµ¿ìÁî ¿ø°Ý Å͹̳ο¡¼­ ½ÇÇàÁßÀÎÁö °Ë»ç  ±è¿µ´ë 2008/11/04 6204 1710
964   [½Ã½ºÅÛ] ¿øµµ¿ìÁî µµ¸ÞÀÎ À̸§ ±¸ÇÏ±â  ±è¿µ´ë 2008/11/04 17000 1675
963   [½Ã½ºÅÛ] »ç¿ëÁßÀÎ USB Æ÷Æ®ÀÇ ÀåÄ¡Á¤º¸ ±¸ÇÏ±â  ±è¿µ´ë 2008/11/04 19973 1885
962   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] TreeviewÀÇ ¼öÆò ½ºÅ©·Ñ¹Ù °¨Ãß°í ½ºÅ©·Ñ ¸·±â  ±è¿µ´ë 2006/03/22 6469 1438
961   [À©µµ¿ìÁî API] ¹ÙÅÁÈ­¸éÀÇ ¸ðµç â ÃÖ¼ÒÈ­ÇÏ±â  ±è¿µ´ë 2006/02/28 6422 1548
960   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ÀÏÁ¤½Ã°£ °æ°úÈÄ ¾ø¾îÁö´Â MessageBox  ±è¿µ´ë 2006/02/28 8135 1842
959   [½Ã½ºÅÛ] SystemÀÇ Idle »óŸ¦ ¾Ë¾Æ³»´Â API  ±è¿µ´ë 2006/02/28 7358 1723
958   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ListBox¿¡ Edit ¿Ã·Á Ç׸ñ ÆíÁýÇÏ±â  ±è¿µ´ë 2006/02/28 5585 1413
957   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] Æû Èçµé±â  ±è¿µ´ë 2006/02/28 8941 1420
956   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ¸¶¿ì½º·Î ProgressBarÀÇ Position ¹Ù²Ù±â  ±è¿µ´ë 2006/02/28 5731 1463
955   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ListBox µå·¡±×ÇÏ¿© ¾ÆÀÌÅÛ À̵¿ÇÏ±â  ±è¿µ´ë 2006/02/28 5699 1374
954   [½Ã½ºÅÛ] ÆûÀÇ Move/Resize ½ÃÀÛ,Á¾·á À̺¥Æ® °¨ÁöÇÏ±â  ±è¿µ´ë 2006/02/28 6284 1603
953   [COM/OLE] IEÀÇ ¼Ó¼ºÀ» º¯°æÇÏ¿© ¶Ù¿ì±â  ±è¿µ´ë 2006/02/28 6269 1462
952   [À©µµ¿ìÁî API] ¼¼·Î ±Û²Ã Á¦°ÅÇÑ FontDialog  ±è¿µ´ë 2006/02/28 6520 1591
951   [½Ã½ºÅÛ] CPU À̸§ ±¸Çϱâ2  ±è¿µ´ë 2005/09/13 6688 1579
950   [³×Æ®¿÷/ÀÎÅͳÝ] IP Helper API ¸¦ ÀÌ¿ëÇÑ ³×Æ®¿öÅ© Ä«µå Enable/Disable ½ÃÅ°±â  ±è¿µ´ë 2005/09/10 7343 1566
949   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] Æû¿¡ ÀÚ¼®È¿°ú ÁÖ±â (Delphi 6 ÀÌÇÏ)  ±è¿µ´ë 2005/08/04 11337 1625
948   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] °´Ã¼ÀÇ valid°Ë»ç Assigned() ´ëü  ±è¿µ´ë 2005/07/29 5626 1423
947   [½Ã½ºÅÛ] ½Ã½ºÅÛ ´ë±â¸ðµå/È­¸é º¸È£±â/¸ð´ÏÅÍ ²ô±â À̺¥Æ® °¨ÁöÇÏ±â  ±è¿µ´ë 2005/07/21 8982 1758
946     [COM/OLE] [re] PDF ActiveX »ç¿ëÇÏ±â  Ãʺ¸µ¨ÇÇ 2005/07/18 5781 1237
945   [½Ã½ºÅÛ] À©µµ¿ìÁî GUI ±âº» ÆùÆ®Á¤º¸ ±¸ÇÏ±â  ±è¿µ´ë 2005/07/14 6476 1549
944   [½Ã½ºÅÛ] À©µµ¿ìÁî ÀԷµµ±¸¸ðÀ½ÀÇ ÇÑ/¿µ Åä±ÛÇÏ±â  ±è¿µ´ë 2005/06/24 6231 1613
943   [COM/OLE] ActiveFormÀÇ OnDestroy ´ë¿ë  ±è¿µ´ë 2005/04/21 6076 1443
942   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ListViewÀÇ Å¸ÀÌƲ ÆùÆ® ¹Ù²Ù±â  ±è¿µ´ë 2005/03/31 6130 1465
941   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ÀÏÁ¤½Ã°£ °æ°úÈÄ ¾ø¾îÁö´Â MessageDlg/ShowMessage  ±è¿µ´ë 2005/03/26 6715 1463
940   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ÇÁ·Î±×·¥ÀÇ bitmapÀ» MS ±×¸²ÆÇÀ¸·Î ÆíÁýÇÏ¿© ´Ù½Ã ºÒ·¯¿À±â  ±è¿µ´ë 2005/03/22 6200 3595
  [ÀϹÝ/ÄÄÆ÷³ÍÆ®] RichEdit 2.0 ÁÙ°£°Ý Á¶Á¤  ±è¿µ´ë 2005/02/11 9329 1495
938   [COM/OLE] Ž»ö±â¿¡¼­ ÆÄÀÏÀ» ¼±ÅÃÇÏ¿© ActiveX(ActiveFortm)¿¡ Drag&Drop ÇÏ±â  ±è¿µ´ë 2005/01/06 8747 1551
937   [À©µµ¿ìÁî API] TDownloadURL¸¦ »ç¿ëÇÑ ÆÄÀÏ ´Ù¿î¹Þ±â  ±è¿µ´ë 2004/12/26 8098 1553
936   [COM/OLE] TWebBrowser¿¡ Á÷Á¢ HTML ¼Ò½ºÄÚµå ³Ö±â  ±è¿µ´ë 2004/12/26 7471 1497
935   [À©µµ¿ìÁî API] À©µµ¿ìÁî ½Ã½ºÅÛ Àüü¿¡¼­ »ç¿ëÀÚÀÇ ¸¶¿ì½º¿Í Å°º¸µå ÀÔ·ÂÀÌ ÀÖ´ÂÁö °Ë»çÇÏ±â  ±è¿µ´ë 2004/12/26 7184 1604
934   [ÀϹÝ/ÄÄÆ÷³ÍÆ®] ´ÙÀ̾ó·Î±× ¹Ú½º°¡ ÀÌ¹Ì ¶°ÀÖ´ÂÁö °Ë»çÇÏ¿© °­Á¦·Î ´Ý±â  ±è¿µ´ë 2004/12/22 5857 1374
933   [À©µµ¿ìÁî API] URLDownloadToFile()¸¦ »ç¿ëÇÑ ÆÄÀÏ ´Ù¿î¹Þ±â  ±è¿µ´ë 2004/12/15 9010 1691
932   [COM/OLE] ³» ÇÁ·Î±×·¥¿¡¼­ ¼±ÅÃÇÑ text¸¦ ´Ù¸¥ ÇÁ·Î±×·¥¿¡ Drag&DropÀ¸·Î ÁÖ±â  ±è¿µ´ë 2004/12/10 6392 1398

1 [2][3][4][5][6][7][8][9][10]..[25] [´ÙÀ½ 10°³]
 

Copyright 1999-2024 Zeroboard / skin by zero