본문 바로가기

Application/Delphi Lecture126

MS SQL server연결에 대한 작은 것 델파이, MS SQL server연결에 대한 작은 것 ======================================== 작성자 : 윤석천 / likesam@hitel.net 작성일 : 2000-02-25 버전 : 0.0.0.1 (전혀 Debugging이 되어 있지 않음) 게시사이트 : 델파이코리아(http://www.delphikorea.com), Hitel vtool동호회 저작권 : Free. 부탁글 : Delphi의 사용방법, 혹은 delphi-MS SQL과의 연결 방법에 대한 일체 편지나 문의를 받지 않습니다. 아래의 code에서 보시면 아시겠지만 저또한 완전 초보이며, 제가 대답할 실력이 되지 않습니다, ^^; [차례] 1. 서론 2. 응용프로그램에서의 DB연결용 설정 3. 많이들 궁금해 .. 2008. 7. 24.
rxRichedit 컨트롤에 이미지 넣기 function ConvertBitmapToRTF(const Bitmap: TBitmap): string; var bi, bb: string; bis, bbs: Cardinal; achar: string[2]; Buffer: string; I: Integer; type PWord = ^Word; begin GetDIBSizes(Bitmap.Handle, bis, bbs); SetLength(bi, bis); SetLength(bb, bbs); GetDIB(Bitmap.Handle, Bitmap.Palette, PChar(bi)^, PChar(bb)^); SetLength(Buffer, (Length(bb) + Length(bi)) * 2); i := 1; for bis := 1 to Length(bi) .. 2008. 7. 24.
델파이 색상코드값을 html 형식으로 나타내기 procedure TForm1.Button1Click(Sender: TObject) ; function ColorToHtml(DColor:TColor):string; var tmpRGB : TColorRef; begin tmpRGB := ColorToRGB(DColor) ; Result:=Format('#%.2x%.2x%.2x', [GetRValue(tmpRGB), GetGValue(tmpRGB), GetBValue(tmpRGB)]) ; end; {function ColorToHtml} begin if ColorDialog1.Execute then Label1.Caption:=ColorToHtml(ColorDialog1.Color) ; end; 2008. 7. 24.
Richedit 에 Url 링크 설정 Richedit 컨트롤에 Url 링크 설정 처리 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/richedit/richeditcontrols.asp 원문 위치 Rich Edit Controls This section contains information about the programming elements used with rich edit controls. A rich edit control is a window in which the user can enter, edit, format, print, and save text. The text can be assigned characte.. 2008. 7. 24.