18-02-2012, 06:51 AM
السلام عليكم
الحمد لله الذي سخر لنا الانترنت وهذه الاندية لنستفيد منها والحمد لله الذي علمنا ما لم نكن نعلم
أما ويعد
الدرس الثاني تعريب رسائل الحوار وكل الجمل والعبارات والمفردات المستخدمة في الادوات وكلها موجودة في الوحدة Spconst وما عليك الا ان تغير الكلمات من الانجليزية الى العربية .
أسم الوحدة والاجراء تم المطلوب تغييره باللون الاخظر الى السطر الذي يليه :
واستمتع
الحمد لله الذي سخر لنا الانترنت وهذه الاندية لنستفيد منها والحمد لله الذي علمنا ما لم نكن نعلم
أما ويعد
الدرس الثاني تعريب رسائل الحوار وكل الجمل والعبارات والمفردات المستخدمة في الادوات وكلها موجودة في الوحدة Spconst وما عليك الا ان تغير الكلمات من الانجليزية الى العربية .
أسم الوحدة والاجراء تم المطلوب تغييره باللون الاخظر الى السطر الذي يليه :
كود :
[color=Red]unit : Businessskinform[/color]
[color=Blue]procedure tbsskinmainmenubaritem.draw;[/color]
[color=Green]R := Rect(0, 0, 0, 0);[/color]
R := Rect (parent.Width - Parent.ItemsRect.Right * Parent.ObjectList.Count + w , 0, 0 , 0);كود :
[color=red]Unit : SkinMenus[/color]
[color=blue]procedure CreateItemImage(B: TBitMap; AActive: Boolean; FromSpecRect: Boolean);[/color]
[color=Green]// R := Rect(TR.Left + TextOffset, 0, TR.Right - 16, 0)[/color]
R := Rect(TR.Right - TextWidth(S) , 0, TR.Right - 16, 0);
[color=green]// SR := Rect(TR.Right - SR.Right - 16, R.Top, TR.Right - 16, R.Bottom);[/color]
SR := Rect(TR.Left - SR.Right - 16, R.Top, TR.Right - 16, R.Bottom);
[color=blue]procedure CalcMenuPos(var X, Y: Integer; R: TRect);[/color]
[color=green] // if R.Left < WA.Left then Result := WA.Left else Result := R.left ;[/color]
if R.Left < WA.Left then Result := WA.Left else Result := R.Right - Width ;كود :
[color=red]Unit : SkinComboBox[/color]
[color=blue]procedure TbsSkinDateEdit.DropDown;[/color]
[color=green] // SetWindowPos(FMonthCalendar.Handle, HWND_TOP,(P.X , Y, 0, 0,[/color]
SetWindowPos(FMonthCalendar.Handle, HWND_TOP,(P.X - FMonthCalendar.Width ) + self.Width , Y, 0, 0, SWP_NOSIZE or SWP_NOACTIVATE or SWP_SHOWWINDOW);كود :
[color=red]Unit : SpUtils[/color]
[color=blue]procedure SPDrawText3(Cnvs: TCanvas; S: String; R: TRect; HorOffset: Integer);[/color]
[color=green]// TX := R.Left + 2 + (r.Right - r.Left)- Cnvs.TextWidth(S) + HorOffset;[/color]
TX := R.Left + ((R.Right - R.Left)- Cnvs.TextWidth(S)) + HorOffset;
[color=blue]procedure SPDrawText2(Cnvs: TCanvas; S: String; R: TRect);[/color]
[color=green]// TX := R.Left + 2[/color]
TX := R.Left + (R.Right - R.Left)- Cnvs.TextWidth(S);واستمتع
بين الانسان والكفر ترك الصلاة فمن تركها فقد كفر .

