Delphi 2010 ve Delpi XE2 aynı pc üzerinde kullanımı!
Destek talebi(Lütfen oy verelim!)
Sitemiz üye alımına kapatılmıştır!
! CODEBANK 2012 !
İNDİRMEK&DETAYLI BİLGİ ALMAK İÇİN BURAYI TIKLAYINIZ.
0 Üye ve 1 Ziyaretçi konuyu incelemekte.
Table1.First;
if not Table1.Bof Then //İlk Kayıtta DeğilseTable1.Prior;
if not Table1.Eof Then //Son Kayıtta DeğilseTable1.Next;
Table1.Last;
Table1.insert;editilkalan.setfocus; // Tablonun İlk Alanına Bağlı Bileşeni Kursörü Bırakıyoruz.
VarCevap:Word;BeginCevap:=Application.MessageBox(' silinsin mi? ','Onay',MB_YesNo);if Cevap=mrYes thenTable1.delete;
Table1.Edit;
Table1.Post;
Table1.Cancel;
Table1.Refresh;
procedure TDBForm.DBNavigatorBeforeAction(Sender: TObject;Button: TNavigateBtn) ;beginif (Button = nbinsert) then // Button adlarrının önüne nb ekleyerek kullanınbeginSysUtils.Abort; //Ekleme eylemini iptal et.end;end;
procedure ChangeDBNavImage(DBnav: TDbNavigator); var i: Integer; tempGlyph: TBitmap; ExePath: string; begin ExePath := ExtractFilePath(Application.ExeName); tempGlyph := TBitmap.Create; try with DBNav do begin for i := 0 to ControlCount - 1 do begin if Controls.ClassName = 'TNavButton' then begin case TNavButton(Controls).Index of nbFirst: tempGlyph.LoadFromFile(ExePath + 'first.bmp'); nbPrior: tempGlyph.LoadFromFile(ExePath + 'previous.bmp'); nbNext: tempGlyph.LoadFromFile(ExePath + 'Next.bmp'); nbLast: tempGlyph.LoadFromFile(ExePath + 'Last.bmp'); nbInsert: tempGlyph.LoadFromFile(ExePath + 'Insert.bmp'); nbDelete: tempGlyph.LoadFromFile(ExePath + 'Delete.bmp'); nbEdit: tempGlyph.LoadFromFile(ExePath + 'Edit.bmp'); nbPost: tempGlyph.LoadFromFile(ExePath + 'Post.bmp'); nbCancel: tempGlyph.LoadFromFile(ExePath + 'Cancel.bmp'); nbRefresh: tempGlyph.LoadFromFile(ExePath + 'Refresh.bmp'); end; TNavButton(Controls).Glyph := tempGlyph; end; end; end; finally tempGlyph.Free; end; end;
procedure TForm1.Button1Click(Sender: TObject); begin ChangeDBNavImage(DBNavigator1); end;
Hocam Şu navigator e bir türlü ısınamadım onu kullanacağıma button yapıyorum speed button çok hoş duruyorlar
Hocam Şu navigator u editliyorlarmış nasıl yapılıyor bu yani o soğuk buttonlar yerine başka buttonlar koyyuyorlar