الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

إظهار الفورم بطريقة جميلة

بدأه 3mran في 26 مارس 2008 · 2 رد · 1,423 مشاهدة · في لغة Delphi
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

شباب هذا الكود لإظهار الفورم بطريقة جميلة

{

The AnimateWindow function enables you to produce

special effects when showing or hiding windows.

Mit der AnimateWindow Funktion kann man spezielle Effekte

erzeugen beim Zeigen, Unsichtbarmachen (hide) einer Form.

}



procedure TForm1.Button1Click(Sender: TObject);

begin

Form2.BringToFront;

AnimateWindow(Form2.Handle,Trackbar1.Position, AW_BLEND);

Form2.Show;

{

The 3. parameter can be one or more of the following values:

Der 3. parameter kan folgende Werte annehmen:

AW_BLEND : Uses a fade effect

AW_SLIDE : Uses slide animation.

AW_ACTIVATE : Activates the window

AW_HIDE : Hides the window.

AW_CENTER : Makes the window appear to collapse inward

AW_HOR_POSITIVE : Animates the window from left to right.

AW_HOR_NEGATIVE : Animates the window from right to left

AW_VER_POSITIVE : Animates the window from top to bottom

AW_VER_NEGATIVE : Animates the window from bottom to top

}



end;

المثال في المرفقات :lol:

Animate.zip

Be The Best or Be Nothing

#2

لمن يريد أن يشكر هناك زر شكر, تحت المشاركة يمكنه ذلك, قمت بإخفاء المشاركات الخاصة بالشكر

رب اجعلني مقيم الصلاة ومن ذريتي ربنا وتقبل دعاء.

لا تنسى: "العقل مثل العضلة كلما استخدمته أكثر كلما ازدادت قوته"

#3

مشكوووووووووووووووووووووووووور

لكن فين اضع هذا الكود

(( << سبحان الله وبحمده *** سبحان الله العظيم >> ))

مواضيع مشابهة