Arsip: ada yang tau komponent edbedit
                
                   more 17 years ago
                  
              alvonz
rekan2 delphi-id.org, saya mau tanya ada yang tau komponen edbedit gak..
sy ada contoh program, muncul edbedit.dcu not found
jika ada yang punya atau yang tau nama komponennya plis kasih tau
saya udah nanya embah google gak dapet, :?:  :?:
                
                
                   more 17 years ago
                  
              ImanD
@alvonz
cobain yg ini bro,
                
unit Edbedit;
interface
uses
  SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  Forms, Dialogs, StdCtrls, Mask, DBCtrls;
type
  TEDBEdit = class(TDBEdit)
  private
    { Private declarations }
  protected
    { Protected declarations }
    procedure KeyPress(var Key: Char); override;
    procedure KeyDown(var Key: Word; Shift: TShiftState); override;
  public
    { Public declarations }
  published
    { Published declarations }
  end;
procedure Register;
implementation
procedure Register;
begin
  RegisterComponents('Samples', [TEDBEdit]);
end;
procedure TEDBEdit.KeyPress(var Key: Char);
var
   MYForm: TForm;
begin
   if Key =#13then
   begin
       MYForm := GetParentForm( Self );
       if not (MYForm = nil ) then
           SendMessage(MYForm.Handle, WM_NEXTDLGCTL, 0, 0);
       Key :=#0;
   end;
   if Key <>#0then inherited KeyPress(Key);
end;
procedure TEDBEdit.KeyDown(var Key: Word; Shift: TShiftState);
var
   MYForm: TForm;
   CtlDir: Word;
begin
   if (Key = VK_UP) or (Key = VK_DOWN) then
   begin
       MYForm := GetParentForm( Self );
       if Key = VK_UP then CtlDir := 1
       else CtlDir :=0;
       if not (MYForm = nil ) then
           SendMessage(MYForm.Handle, WM_NEXTDLGCTL, CtlDir, 0);
   end
   else inherited KeyDown(Key, Shift);
end;
end.
Ref: http://www.programmersheaven.com/download/6026/0/ZipView.aspx
                
                   more 17 years ago
                  
                
              alvonz
@ImanD: @alvonz procedure TEDBEdit.KeyPress(var Key: Char); var MYForm: TForm; begin if Key =#13then begin MYForm := GetParentForm( Self ); if not (MYForm = nil ) then SendMessage(MYForm.Handle, WM_NEXTDLGCTL, 0, 0); Key :=#0; end; if Key <>#0then inherited KeyPress(Key); end; procedure TEDBEdit.KeyDown(var Key: Word; Shift: TShiftState); var MYForm: TForm; CtlDir: Word; begin if (Key = VK_UP) or (Key = VK_DOWN) then begin MYForm := GetParentForm( Self ); if Key = VK_UP then CtlDir := 1 else CtlDir :=0; if not (MYForm = nil ) then SendMessage(MYForm.Handle, WM_NEXTDLGCTL, CtlDir, 0); end else inherited KeyDown(Key, Shift); end; end. [/pas] Ref: http://www.programmersheaven.com/download/6026/0/ZipView.aspxmuncul error

                
                   more 17 years ago
                  
              ImanD
@alvonz
mana image nya? bro image nya kudu di upload dong, moso di local sech.
ni buat upload image http://share.delphi-id.org/
                
                
                   more 17 years ago
                  
                
              LuriDarmawan
@alvonz: lah kok gambar errornya gak muncul gmn caranya yahtuh.. sudah di jawab sama @ImanD
more ...
              - Pages:
 - 1
 
                    
                     reply  |
                     Report Obsolete
                  
                AI Forward
            
🚀 We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now: 
https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 5 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 5 years ago - Archive
 - Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 13 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 13 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 13 years ago 
Random Topic
- [ HELP ] Pencerahan tentang database yang sering digunakan.
by binyo in MySQL more 13 years ago - Biaya pemakaian
by pilot in Hal umum tentang Pascal Indonesia more 18 years ago - memanggil nama komponent dari tabel
by brodien in Enginering more 19 years ago - Function gak ngembaliin nilai ??? tanya kenapa
by Manz in Enginering more 19 years ago - Topik lama... [Help]
by eksant in Tip n Trik Pemrograman more 18 years ago - Backup SQL Server 2000 lwt Delphi
by ahmeed in Hal umum tentang Pascal Indonesia more 17 years ago - RS-232 conection
by wawanva in Network, Files, I/O & System more 17 years ago - Menampilkan image captcha di Twebbrowser
by kusqus in Web Programming more 16 years ago - Handle Error Store Procedure
by supermuam in MsSQL more 16 years ago - PlaySound untuk beberapa file *.wav sekaligus?
by gormet in Multimedia & Graphic Enhancement more 17 years ago