49
bdullatif Tarakji [email protected] Set form controls ج ذو م ن لما حك ت ر ص ا ن ع ن ي ن ع تAdding, moving, and deleting form controls Working with control properties Formatting form controls Modifying data sources Sizing and ordering controls in Design view Working with control layouts in Layout view Managing labels , , ج وذ م ن ل ما حك ت ر ص ا ن ع ف و حذ ك ي ر ح ت ة اف ض) ا م حك* ت ل را ص ن ع ص/ ئ صا خ ع م ل م ع ل ا ج وذ م ن ل ما حك ت ر ص ا ن ع ق ي س< ن* ي ات ان نA ب لذر ا صا م ل ي عذ ت م ي م ص ن ل ا رض ع ة ق ت ر ط ي ف م حك* ت ل را ص ا ن عQ ب ي ت ر ت مو يQ ج ح ت ط ن ط خ ت ل ا رض ع ي ف م حك* ت ل را ص ا ن ع طات ن ط خ ت ع م ل م ع ل ا ات ن م س لن ا ذارة) ا

Lesson15 Set Form Controls

Embed Size (px)

Citation preview

Page 1: Lesson15 Set Form Controls

Abdullatif [email protected] Set form controls

النموذج تحكم عناص ر تعيين• Adding, moving, and deleting form controls

• Working with control properties

• Formatting form controls

• Modifying data sources

• Sizing and ordering controls in Design view

• Working with control layouts in Layout view

• Managing labels

• , ال نموذج, تحكم عناصر حذف و تحريك إضا فة

التحكم • عنصر خصائ ص مع العمل

النموذج • ت حكم عناصر تنسيق

البيانات • مص ادر تعديل

عرض • طريق ة في التحكم عنا صر ت رتيب و تحجيمالتصميم

عرض • في التحكم عناصر تخطيطات مع العملالتخطيط

ال تسميات • إدارة

Page 2: Lesson15 Set Form Controls

Abdullatif [email protected] Set form controls

النموذج تحكم عناصر تعيينThis section explains more about working with form controls. It describes how to add, move, and delete controls and the properties you can use to define a control’s format and behavior. This section also covers more about working with controls in Layout and Design view and the options you have for arranging and formatting controls from the ribbon. In addition, it describes how to modify data sources for forms and controls and how to work with labels.

مع العمل حول أكثر القسم هذا يوضح . كيفية يصف فهو النموذج تحكم عناصر

التحكم, عناصر حذف و نقل، إضافةلتحديد استخدامها يمكن التي والخصائص

. وعمله التحكم عنصر شكلمع العمل حول أكثر أيضا القسم هذا يغطيوعرض التخطيط عرض في التحكم عناصرعناصر تنسيق و لترتيب والخيارات التصميم

. ذلك، إلى وباإلضافة الشريط من التحكمالبيانات مصادر تعديل كيفية يصف فهو

مع العمل وكيفية التحكم عناصر و للنماذجالتسميات.

Page 3: Lesson15 Set Form Controls

Abdullatif [email protected]

Adding, moving, and deleting form controls

, النموذج, تحكم عناصر حذف و تحريك إضافة• The Controls group on the Form

Design Tools Design tool tab (or Form Layout Tools Design tool tab) displays an icon for each type of control you can use on a form. (A ScreenTip identifies each type of control.) Open a form in Layout view or Design view, click a control icon (for a text box, command button, or check box, for example), and then click in the form where you want the control to appear.

التصميم • أداة تبويب في التحكم عناصر مجموعة. النموذج تصميم أدوات في

تخطيط) أدوات تصميم أداة تبويب في أوعنصر( أنواع من نوع لكل رمز يعرض النموذج

. النموذج في استخدامها يمكنك التي التحكمأنواع) من نوع كل تحدد الشاشة تلميحات

العنصر.( أو تخطيط العرض طريقة في النموذج افتح

التحكم؟ عنصر رمز فوق انقر التصميم، عرضعلى) االختيار، خانة أو األمر، زر النص، لمربع

) تريد حيث النموذج فوق انقر ثم ، المثال سبيل. العنصر إظهار

Page 4: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 5: Lesson15 Set Form Controls

Abdullatif [email protected]

• After adding a control, you can drag it to change and fine-tune its position. You can also select a control and then use the arrow keys to move it up, down, left, or right. Use the arrow keys to move a control in smaller increments than dragging often affords. Drag a control’s border to move the control and its label together. Point to the larger gray handle in a control’s upper-left corner to move a label or a control independently. To move a control to a precise position, open the property sheet and specify coordinates for the Top and Left properties. The settings for the Top and Left properties position a control relative to the upper-left corner of the form.

• To delete a control, right-click the control, and then click Delete. If a label is associated with a control you delete, Access also deletes the label.

وصقل • لتغيير سحبه يمكنك التحكم، عنصر إضافة بعداستخدم. وثم تحكم عنصر تحديد أيضا يمكنك موقعهأو يسارا أو ألسفل أو ألعلى لتحريكه األسهم مفاتيح

على. العنصر لنقل األسهم مفاتيح استخدام يمينا . التحكم عنصر اسحب سحبه من بدال صغيرة دفعات

. أشر معا به الخاصة والتسمية العنصر لنقل حدوده منالعلوية الزاوية في األكبر الرمادي المقبض إلى

عن مستقل بشكل لنقله التحكم لعنصر اليسرىافتح. دقيق، موقع الى التحكم عنصر لنقل التسمية

األعلى خصائص من اإلحداثيات وحدد الخصائص صفحة . اليسار و األعلى خصائص موضع إعدادات اليسار و

من اليسرى العلوية الزاوية على تعتمد للعنصرالنموذج.

فوق • األيمن الماوس بزر انقر تحكم عنصر لحذف . التسمية كانت إذا حذف فوق انقر ثم التحكم، عنصر

. بحذفها األكسيس يقوم التحكم عنصر مع مرتبطة

Page 6: Lesson15 Set Form Controls

Abdullatif [email protected]

مر̂بع و ̂أ الت̂سمية ل̂سحبمس^^تقل بشك^^ل الن^^صالمقب^^^^^^ض اس^^^^^^تخدم̂^ي ^̂ ف^ ̂^بير ^̂ الك^ الرمادي̂^ا العلي ̂^رى اليس ̂^ة الزاوي

العنصر من

Page 7: Lesson15 Set Form Controls

Abdullatif [email protected]

To add a control to a form 1. Open the form in Design view or Layout view. 2. On the Form Design Tools Design tool tab, in the

Controls group, click the icon for the type of control you want to add. Use the ScreenTips that Access displays to identify the control.

3. Click in the form where you want to place the control. 4. If prompted by Access, use the control wizard to set

up the control.

To move and position controls Select the control, and then drag the control or use the arrow keys to position the control.

To delete a control Right-click the control, and then click Delete.

النموذج الى تحكم عنصر إلضافةالتصميم 1. عرض طريقة في النموذج افتح

. التخطيط عرض أوتصميم 2. أدوات تصميم أداة تبويب من

, التحكم عناصر مجموعة في النموذجالذي التحكم عنصر نوع رمز على اضغط , الشاشة تلميحات استخدم اضافته تريد. العنص ر لتعريف األكسيس يظهرها التي

تريد 3. الذي المكان في النموذج في اضغط. به العنصر وضع

.4 , معالج استخدم األكسيس طالبك اذا. إلعداده العنصر

. العناصر وتوضع و لتحريك , مفاتيح استخدم أو اسحبه ثم العنصر حدد

. مو ضعه لتغيير األسهم. العنص ر لحذف

, اضغط ثم العنصر على يمين كليك اضغطحذف.

Page 8: Lesson15 Set Form Controls

Abdullatif [email protected] with control properties

التحكم عنصر خصائص مع العمل• To display the property sheet, open a form

in Design view or Layout view, and then click Property Sheet on the Form Design Tools Design tool tab (or the Form Layout Tools Design tool tab). The property sheet is arranged in five tabs: Format, Data, Event, Other, and All. Form controls share some properties (such as the Name property), and each type of control also has specific properties related to its type.

• The following list describes some of the properties you often work with.

طريقة • في النموذج افتح الخصائص، ورقة لعرضورقة فوق انقر ثم تخطيط، عرض أو التصميم عرضأداة ̂تبويب من النموذج تصميم أدوات في الخصائص

التصميم نموذج) ̂تخطيط أداة أدوات التبويب عالمة أو

خمس(. في ال̂خصائص ورقة ترتيب يتم التصميم . : والكل أخرى، حدث، بيانات، تنسيق، تبويب عالمات

الخصائص بعض النموذج ̂تحكم عناصر تشترك ) التحكم) عنصر من نوع ولكل ، االسم خاصية مثل

. بنوعه تتعلق محددة خصائص أيضا لديهاغالبا • التي الخصائص بعض التالية القائمة توضح

. معها تعم̂ل ما

Page 9: Lesson15 Set Form Controls

Abdullatif [email protected]

• The Format tab includes properties such as Caption, Height, Width, Text Align, and Visible. Use a control’s Visible property to show or hide the control under conditions you define.

• The Data tab includes the Control Source property—the property that binds a control to data in a specific field or uses an expression to derive the control’s data. Not all types of controls have a Control Source property. Bound controls (controls that are linked to a field) include text boxes, option groups (which contain option buttons or check boxes), combo boxes and list boxes, charts, and subforms and subreports. Unbound controls include labels, command and toggle buttons, tab controls, hyperlinks, the web browser control, lines, and images. The Data tab also includes properties such as Default Value, Validation Rule, and Validation Text.

التبويب • الطول، تنسيقويشمل توضيحية، تسمية مثل خصائص . ومرئي النص، محاذاة العرض،

عنصر إخفاء أو إظ̂هار في تحكم عنصر مرئي الخاصية استخدام. تحددها التي الشروط بموجب التحكم

التبويب • التحكم بياناتعالمة عنصر مصدر خاصية تضمنأو معين حقل في البيانات إلى تحكم عنصر تربط التي الخاصية

. أنواع كل ليس التحكم لعنصر البيانات الستخالص تعبير يستخدم . وتشمل التحكم عنصر مصدر خاصية على تحتو̂ي التحكم عناصر

) حقل ) إلى ترتبط التي التحكم عناصر منضمة تحكم عناصرالخيار ) أزرار على تحتوي التي الخيار ومجموعات النص، مربعات

) القائمة ومربعات والسرد التحرير مربعات ، االختيار خانات أو . الفرعية والتقارير الفرعية والنماذج والمخططات

األوامر وأزرار العالمات، منضمة غير التحكم عناصر وتشملالتشعبي، االرتباط و الجدولة، عالمة تحكم وعناصر والتبديل،

. والصور والخطوط، الويب، مستعرض تحكم عنصرالقيمة مثل خصائص أيضا بيانات التبويب عالمة ويتضمن

. النص صحة من والتحقق صحة، من التحقق قاعدة االفتراضية،

Page 10: Lesson15 Set Form Controls

Abdullatif [email protected]

• The Event tab lists properties such as On Click, Before Update, On Enter, and On Exit. You can associate a macro or a subprocedure written in Microsoft Visual Basic for Applications (VBA) with an event property to automate the operations of a form.

• The Other tab contains the Name property (in addition to other properties). You use the Name property to refer to a control in VBA code and in an expression. The Name property is not the same as the Caption property, which controls the display text associated with a control. Access creates a default value for the Name property (such as Text10 or List6) when you add a control. Update the Name property to make a control’s purpose or relationship to a field clearer. You can use the ControlTip Text property on the Other tab to define the text for a ScreenTip that appears when you point to the control with your mouse.

• The All tab displays all properties associated with a control.

التبويب • عالمة التحديث، حدثيسرد وقبل النقر، عند مثل خصائص . فرعي اجراء أو ماكرو إقران يمكنك الخروج عند االدخال، عند

في خاصية( VBAللتطبيقات )Microsoft Visual Basicالمكتوبة مع. النموذج ̂عمليات ألتمتة الحدث

التبويب • ذلك عالمة إلى ) غير باإلضافة اسم الخاصية على تحتوي .) عنصر إلى لإلشارة اس̂م الخاصية استخدام يمكنك أخرى خصائص

البرمجية التعليمات في . VBAتحكم اسم الخاصية التعبير في وعناصر تظهرها التي توضيحية، تسمية الخاصية نفس ليست . القيمة األكسيس ينشئ المرتبطة العرض نص على التحكم

مثل ) اسم للخاصية إضافة( List6أو ( )Text10االفتراضية عند . عنصر عالقة و غرض لجعل اسم الخاصية تحد̂يث تحكم عنصر

. الخا̂صية استخدام ̂يمكنك وضوحا أكثر حقل إلى التحكمControlTip text تلميح نص لتحدي̂د االخرى التبويب عالمة في

إلى اإلشارة عند تظهر التي الشاشة. بالماوس التحكم عنصر

التبويب • عالمة عنصر الكلتعرض مع المقترنة الخصائص كلتحكم.

Page 11: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 12: Lesson15 Set Form Controls

Abdullatif [email protected]

The following list describes the purpose of each form control and identifies additional control properties related to the type of control.

• Text box Displays text fields and general number and currency fields. In addition to using the Width and Height properties to specify the size of a text box control, you can format a text box by setting properties such as Back Color, Border Style, Border Width, Font Name, and Font Size. For a field that uses the Long Text data type, set the Scroll Bars property to Vertical to more easily review the text that’s displayed.

• Label Identifies fields and controls on the form. Formatting properties for labels include Font Name, Font Size, Font Weight and Border Style, Border Width, and Border Color. You can use the Special Effect property to give the label a sunken or raised look.

• Button Used to perform an action such as opening another form, navigating to records, or running macros or VBA code. You can set a variety of formatting properties for buttons. For example, you can add a picture to a button. You can use the Hover Color and Pressed Color properties to specify the color of the button and its text when you point to or press the button.

وتحدد النموذج تحكم عنصر كل من الغرض التالية القائمة توضحخصائص

. التحكم عنصر بنوع تتعلق إضافية التحكم عنصر

. النص مربع• العملة وحقول العام والرقم النص حقول تظهرحجم لتحديد والطول العرض خصائص استخدام إلى باإلضافةطريق عن نص مربع تنسيق يمكنك النص، مربع تحكم عنصر

الخلفية، لون مثل الخصائص إعداد . لحقل الخط وحجم الخط، اسم الحدود، عرض الحدود، نمط

أشرطة خاصية تعيين طويل، نص البيانات نوع يستخدميتم الذي النص لسهولة أكثر الستعراض العمودي الى التمرير

عرضه.. التسمية • النموذج في التحكم وعناصر الحقول تعريف

الخط، حجم الخط، اسم تشمل للتسميات التنسيق خصائص , الحدود، نمط الخط سماكة

. تأثير الخاصية استخدام يمكنك الحدود ولون الحدود، عرض. المحفور أو المنبثق نظرة تسمية إلعطاء خاص

إلى زر • االنتقال آخر، نموذج فتح مثل إجراء لتنفيذ يستخدم. برمجة كود أو الماكرو وحدات تشغيل أو يمكنك السجالت،

. على لألزرار التنسيق خصائص من متنوعة مجموعة تعيين . استخدام يمكنك زر إلى صورة إضافة يمكنك المثال، سبيل

ونصه الزر لون لتحديد الضغط لون وخصائص التحديد لون. الزر على الضغط أو إليه اإلشارة عند

Page 13: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 14: Lesson15 Set Form Controls

Abdullatif [email protected]• Hyperlink Links to a file, a webpage, or an email address. In a

desktop database, you can also use a hyperlink to open another object in the database. When you add a hyperlink control to a form, Access displays the Insert Hyperlink dialog box. In the Link To list, select a category. If you select Existing File Or Web Page, you can use the Browse The Web or the Browse For File button to locate the page or file. Use the Address box to specify the URL or path, and enter the text you want to display on the form in the Text To Display box. For email addresses, you need to provide the address and the text for the message’s Subject line.

• Web browser Displays a file or a webpage on a form. When you add a browser control to a form, Access opens the Insert Hyperlink dialog box with the Hyperlink Builder option selected. In the dialog box, enter the page URL or browse to the page you want to display. Access adds the URL to the Base URL box. For example, you could use http://bing.com as the base URL. When you enter /search?q= in the Paths area and then define a parameter named Term with the value Microsoft + Office in the Parameters area, the control returns search results related to Microsoft Office. You can also use an expression to provide a value from a control on your form.

, التشعبي االرتباط• عنوان أو ويب، صفحة ملف إلى روابط . يمكنك المكتب، سطح بيانات قاعدة في اإللكتروني البريد

قاعدة في آخر كائن لفتح تشعبي ارتباط استخدام أيضاإلى. التشعبي االرتباط تحكم عنصر إضافة عند البيانات

. تشعبي ارتباط إدراج الحوار مربع األكسيس يعرض نموذج، . الفئة حدد القائمة، إلى ارتباط في

يمكنك ويب، صفحة أو موجود ملف بتحديد قمت إذاملف زر استعراض أو اإلنترنت شبكة وتصفح استخدام

. الملف أو الصفحة موقع لتحديدلتحديد العنوان مربع وأدخل URLاستخدام المسار، أو

مربع نص في النموذج على عرضه تريد الذي النصتوفير. إلى تحتاج اإللكتروني، البريد لعناوين لعرضهم

. الموضوع سطر في الرسالة ونص عنوان

. ويب متصفح• عند نموذج في ويب صفحة أو ملف يعرضاألكسيس يفتح نموذج، إلى مستعرض تحكم عنصر إضافة

ارتباط إنشاء خيار مع تشعبي ارتباط إدراج الحوار مربع . أدخل الحوار، مربع في المحدد للخيار عنوان URLتشعبي

الصفحة . األكسيس ويضيف عرضها تريد التي الصفحة إلى انتقل أو

URL مربع . URLإلى يمكنك المثال، سبيل على األساسي. URLكأساس http://bing.comاستخدام

إدخال تعريف =search?q/عند ثم مسارات منطقة فيالقيمة مع معلمة

+microsoft office التحكم عنصر يرجع معلمات، مجال فيإلى الصلة ذات أيضا. Microsoft Officeالنتائج يمكنك

النموذج على تحكم عنصر من قيمة لتوفير تعبير استخدام. بك الخاص

Page 15: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 16: Lesson15 Set Form Controls

Abdullatif [email protected]

• Tab Provides a set of pages on which you can organize related data. In a database that tracks projects, for example, you could use one page of a tab control for schedule information, a second for budget fields, and a third for displaying data about task assignments. You can set properties for the tab control in general and for each page (tab). You can add text boxes, list boxes, buttons, and other types of controls to a page to define and interact with the data it displays.

• Image Displays a logo or another type of image on a form.

• Option group Creates an option group that can contain check boxes, option buttons, or toggle buttons. When you bind an option group to a field, the value of that field can be determined by which option button or check box a user selects in the group. For example, you could bind an option group to the field ShipOptions and include option buttons for Express, Second Day, and Ground.

• Option button Captures yes/no or true/false information. You can add a set of option button controls to an option group to set the value for the field bound to the option group.

من التبويب عالمة• تمكنك التي الصفحات من مجموعة يؤمن . المشاريع، لتتبع بيانات قاعدة في صلة ذات البيانات تنظيمعنصر من واحدة صفحة استخدام يمكنك المثال، سبيل علىالزمني، الجدول معلومات على للحصول تبويب عالمة تحكم

حول البيانات لعرض والثالث الميزانية، لحقول والثانية . عالمة تحكم عنصر خصائص تعيين يمكنك المهمة تعيينات

.) إضافة ) يمكنك التبويب عالمة صفحة ولكل عام بشكل التبويبعناصر من وغيرها وأزرار، القائمة، مربعات النص، مربعات

التي البيانات مع والتفاعل لتعريف الصفحة على التحكمتعرض.

.صورة • النموذج في الصورة من آخر نوع أو الشعار تعرضتحتوي الخيار مجموعة• أن يمكن التي الخيار مجموعة إنشاء

. ربط عند التبديل أزرار أو الخيار، أزرار االختيار، خانات علىزر من الحقل هذا قيمة تحديد يمكن حقل، إلى الخيار مجموعة

. على المجموعة من يختار المستخدم االختيار خانة أو الخيارللحقل الخيار مجموعة ربط يمكن المثال، ShipOptionsسبيل

. واألرضي الثاني، اليوم السريع، الخيارات أزرار وتشمل. الخيار زر• / / إضافة يمكنك خطأ صح معلومات أو ال نعم يعرض

لتعيين الخيار لمجموعة الخيار زر تحكم عناصر من مجموعة. الخيارات مجموعة إلى منضمة للحقل قيمة

Page 17: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 18: Lesson15 Set Form Controls

Abdullatif [email protected]• Combo box Lets users select an item from a list or specify a

new item. You can restrict users from entering new items by setting the control’s Limit To List property to Yes. You can format a combo box by setting font and border properties. A combo box’s data properties include the Row Source property, which specifies the list’s values, and Row Source Type, which indicates whether the list comes from fields in a table or a query or is defined by a value list that you create. Access provides a wizard that helps you set up a combo box.

• List box Displays a list of values from a table or a query or from a list that you define. As with a combo box, you use the Row Source and Row Source Type properties to set up the list.

• Check box Specifies yes/no or true/false choices. A check box has fewer formatting properties than other types of controls. Use the Control Source property to bind the control to a field.

• Attachment Bind this control to a field defined with the Attachment data type. Use the entries on the property sheet’s Format tab to specify border styles, height, width, and any special effects.

• Subform/subreport Lets you embed another form or report within the form.

تحديد والسرد التحرير مربع• أو قائمة من عنصر اختيار للمستخدمين يتيح . طريق عن جديدة عناصر إدخال من المس̂تخدمين تقييد يمكنك جديد عنصر

إلى التحكم لعنصر بالقائمة االلتزام خاصية مربع. نعموضع تنسيق يمكنك . خصائص وتضمن والحدود الخط نوع خاصيات اعداد خالل من وسرد تحريرالقائمة قيم يحدد الذي الصف، مصدر خاصية والسرد التحرير مربع البيانات

تأتي القائمة كانت إذا ما على يدل مما المصدر، نوع وصف فيتقوم التي القيمة قائمة تعريف يتم أو استعالم أو جدول في الحقول من

التحرير. مربع إنشاء على يساعدك الذي المعالج األكسيس يوفر بإنشائهاوالسرد.

التي القائمة مربع• القائمة من أو استعالم أو جدول من القيم من قائمة يظهرمصدر. استخدام يمكنك والسرد، التحرير مربع مع الحال هو كما تحددها

. القائمة إلعداد الصف مصدر خصائص نوع و الصفصح/ التحديد خانة• الخيارات أو ال . نعم أقل/ عدد لديها االختيار مربع خطأ

. الخاصية استخدم التحكم عنصر من غيرها من التنسيق خصائص من. حقل إلى التحكم عنصر لربط التحكم عنصر مصدر

. مرفق • المرفق البيانات نوع مع المعرف بالحقل هذا تحكم عنصر ربطالحدود، أنماط لتحديد الخصائص ورقة تنسيق تبويب من إدخاالت استخدم

. خاصة مؤثرات وأي العرض، والطول،تقرير/ نموذج• داخل فرعي فرعي في آخر تقرير أو نموذج تضمين لك يتيح

. الرئيسي النموذج

Page 19: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 20: Lesson15 Set Form Controls

Abdullatif [email protected]• Page break Inserts a page break between pages of

a multipage form. • Chart Inserts a chart on a form. Access displays the Chart

wizard, which you use to select the fields whose data the chart displays, the type of chart,the chart’s layout, and other properties.

• Line Adds a line to visually separate controls. • Toggle button Captures yes/no information. When

a toggle button is clicked (appears pressed in), its value is yes or true. When the button is not clicked, its value is false.

• Rectangle Adds a filled or empty rectangle to a form. You can enclose controls in a rectangle to help format the form.

• Unbound object frame Use for adding an object from another program to your form. The program needs to support object linking and embedding (OLE). You can add pictures, sounds, charts, slides, and worksheets, for example.

• Bound object frame Use for displaying and editing an OLE object field from the form’s record source. You can display pictures and graphs on a form. For other types of objects, Access displays the icon representing the object’s program.

الصفحات صفحات فاصل• بين صفحات فاصل إدراج. الصفحات متعدد لنموذج

. البياني المخطط• نموذج في البياني المخطط إدراجأكسيس يمكنك يعرض والذي البياني، المخطط معالج

فيها سيعرض الذي الحقول لتحديد استخدامهالبياني، المخطط نوع للبيانات، البياني المخطط

. الخصائص من وغيرها البياني، المخطط وتخطيطبشكل خط • التحكم عناصر بين ليفصل خط إضافة

مرئي./. التبديل زر• عند ال بنعم الخاصة المعلومات يعرض

تبديل زر على النقر . ) صحيح) أو نعم هو قيمته ، في الضغط مكان يظهر

النقر يتم ال عندما. خطأ هي وقيمته الزر، على

. مستطيل • نموذج إلى فارغة أو معبأ مستطيل ويضيفللمساعدة المستطيل في التحكم عناصر اغالق يمكنك

. النموذج تنسيق فيمنضم • غير كائن برنامج إطار من كائن إلظهار يستخدم

. دعم إلى البرنامج يحتاج بك الخاص النموذج إلى آخروتضمينها ) الكائنات (. OLEربط

والمخططات واألصوات، الصور، إضافة يمكنكوالشرائح، البيانية،

. المثال سبيل على العمل، وأوراقمنضم • كائن كائن إطار حقل وتحرير لعرض يستخدم

OLE . الصور عرض يمكنك للنموذج السجل مصدر من . من أخرى ألنواع نموذج في البيانية والرسوم

برنامج يمثل الذي الرمز أكسيس يعرض الكائنات،الكائن.

Page 21: Lesson15 Set Form Controls

Abdullatif [email protected]

To insert controls and set control properties

عنصر خصائص تعيين و التحكم عناصر إلدراج.1التحكم In the Navigation pane, right-click the

form, and then click Design View or Layout View.

2. On the Form Design Tools Design tool tab, in the Controls group, click the control you want to add to the form.

3. Click in the form where you want to place the control. Depending on the type of control, Access displays a wizard or a dialog box, which you use to specify the information required to set up the control.

4. On the Design tool tab, in the Tools group, click Property Sheet.

5. In the property sheet, specify the values for the control properties you want to set.

.1 , على اليمين ماوس بزر اضغط التنقل جزء نافذة من. تخطيط, عرض أو تصميم عرض اضغط ثم النموذج

.2 , في النموذج تصميم أدوات في تصميم أداة تبويب من , التحكم عنصر على اضغط التحكم عناصر مجموعة

. النموذج الى اضافته تريد الذي.3 . التحكم عنصر ادراج مكان النموذج في اضغط

, األكسيس برنامج التحكم عنصر نوع على باالعتماد , لتحديد ستستخدمه الذي حوار مربع أو المعالج يظهر

. التحكم عنصر إلعداد المطلوبة المعلومات.4 , , أدوات مجموعة من التصميم أداة تبويب من

. الخصائص ورقة اضغط.5 , عنصر لخصائص القيم حدد الخصائص ورقة من

. تعيينه تريد الذي التحكم

Page 22: Lesson15 Set Form Controls

Abdullatif [email protected] Formatting form controls

النموذج تحكم عناصر تنسيق• By setting properties such as Back Color and

Border Style in the property sheet, you can define or modify how a control appears. Options for formatting controls are also available on the ribbon, by working with commands on the Format tool tab that appears when a form is open in Layout view or Design view. For example, in the Font group on the Format tool tab, you can make changes to font properties for labels and other controls on the form. • To format a label, select it and then choose the

font you want to use from the Font list. You can also change the font size and color or apply a background color to a control. Use the alignment buttons to position the text in the label as left, right, or centered.

في • الحدود ونمط الخلفية لون مثل الخصائص بتعيينظهور كيفية تعديل أو تحديد يمكنك الخصائص، صفحة

. أيضا تتوفر التحكم لعناصر التنسيق خيارات تحكم عنصرعالمة على األوامر مع العمل خالل من الشريط، على

النموذج يكون عندما تظهر التي تنسيق أداة التبويب . على تصميم عرض طريقة أو تخطيط عرض في مفتوحا

التبويب عالمة ضمن خط المجموعة في المثال، سبيلخصائص الخط على تغييرات إجراء يمكنك األداة، تنسيق

. النموذج في األخرى التحكم وعناصر التسمياتتريد • الذي الخط اختيار ثم حدده التسمية، لتنسيق

. حجم تغيير أيضا يمكنك الخط القائمة من استخدامه . تحكم لعنصر الخلفية لون تطبيق أو واللون الخط

كما التسمية في النص لوضع المحاذاة أزرار استخدام. الوسط في أو اليمين، اليسار،

Page 23: Lesson15 Set Form Controls

Abdullatif [email protected]

• In the Number group on the Format tool tab, you can apply a format to fields that use the Number, Currency, or Date/Time data type. For example, select a date field on a form, and then choose Medium Date, Long Date, Short Date, or another option from the Format list. The format you choose here affects how the date is displayed, but it doesn’t change the date format specified for the field in table Design view.

• In the Format tool tab’s Control Formatting group, use the Shape Fill command to add a background color to a control. The Shape Outline command lets you modify the color and style of a control’s borders. For a command button, you can use options on the Shape Effects menu to apply a shadow, a glow effect, or softened or beveled edges. Access enables the Change Shape command when you select a command button, tab control, or navigation button, for example. Use the options to display the button as an oval or another of the available shapes. For button controls, you can apply a set of formats by choosing an option in the gallery that appears when you click Quick Styles.

تطبيق • يمكنك األداة، تنسيق التبويب عالمة في رقم مجموعة فيأو عملة، رقم، تستخدم التي الحقول بيانات لنوع تنسيق

. نموذج،/ في تاريخ حقل حدد المثال، سبيل على وقت تاريخقصير، تاريخ طويل، تاريخ متوسط، تاريخ اختر ثم

. على يؤثر هنا تختاره الذي التنسيق تنسيق القائمة من آخر خيار أوفي للحقل المحدد التاريخ تنسيق تغير ال ولكن التاريخ، عرض كيفية

. التصميم جدول عرض

التنسيق، • أداة تبويب من التحك̂م عنصر تنسيق مجموعة في . تحكم عنصر إلى الخلفية لون إلضافة الشكل تعبئة األمر استخدم

حدود ونمط اللون تعديل يمكنك العريضة الخطوط شكل األمر يتيح . القائمة في الخيارات استخدام يمكنك أمر، لزر التحك̂م عنصر

أو الحواف تخفيف أو توهج، وتأثير الظل، لتطبيق الشكل تأثيراتأمر،. زر تحديد عند الشكل أمر تغير األكسيس يفعل مشطوف

. المثال سبيل على التنقل، زر أو التبويب، عالمة تحكم عنصرمن آخر شكل أي أو بيضوي كشكل الزر لعرض الخيارات استخدام

. من مجموعة تطبيق يمكنك الزر، تحك̂م لعناصر المتاحة األشكاليظهر الذي المعرض في الخيارات أحد اختيار طريق عن األشكال

. سريعة أنماط فوق النقر عند

Page 24: Lesson15 Set Form Controls

Abdullatif [email protected] To format form controls

النموذج تحكم عناصر لتنسيق1. Open the form in Layout view or Design view. 2. Click the Form Design Tools Format tool tab. 3. In the Selection group, choose the control you want

to format, or click Select All.4. In the Font group, choose a new font, font size, or

font color; apply bold, italic, or underline formatting; add a background fill color; and align the text.

5. For Number, Currency, and Date/Time fields, use the Number group to apply number, date/time, and currency formatting to the field.

6. In the Control Formatting group, do the following: 1. Use the Quick Style and Change Shape commands to

format a button. 2. Use the Shape Fill command to add a background fill

color to a control. 3. Use the Shape Outline command to apply line styles

and colors to the control’s borders. 4. Use the Shape Effects command to add a shadow or

glow effect to a button control.

.1. التخطيط عرض أو التصميم عرض طريقة في النموذج افتح

.2. التنسيق أداة ̂تبويب اضغط النموذج تصميم أدوات من

.3 , , تنسيقه تريد الذي التحكم عنصر اختر التحديد مجموعة في . الكل اختر او

.4 , , , لون أو الخط حجم جديد خط نوع اختر الخط مجموعة من , , , تسطير, أو مائل ̂عريض اسود تنسيقات ̂بتطبيق قم الخط

, عنصر داخل النص محاذاة حدد و الخلفية تعبئة لون أضفالتحكم.

.5 , , عملة رقم الحقول أنواع لتطبيق رقم مجموعة استخدم.تاريخ وقت/

.6: , التالي حدد التحكم عنصر تنسيق مجمو̂عة من.1. الزر لتنسيق الشكل تغيير أوامر و سريع نمط استخدم.2. التحكم لعنصر الخلفية تعبئة لون إلضافة الشكل ملئ أمر استخدملحدود 3. األلوان و الخطوط نمط لتطبيق الشكل تخطيط أمر استخدم

. التحكم عناصر.4 , التوهج و الظل تأثيرات إلضافة الشكل تأثيرات أمر استخدم

الزر تحكم لعنصر

Page 25: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 26: Lesson15 Set Form Controls

Abdullatif [email protected] Modifying data sources

البيانات مصادر تعديلA form and the controls that it contains are tied to a data source. For a form, a data source also referred to as a record source can be based on a single table, multiple tables, or a query (which is itself based on one or more tables). The data source for a specific control is governed by the Control Source property. The Control Source property can be set to a specific field in the form’s record source or to an expression. For example, you can add a text box to a form and enter an expression such as =Sum([ExtendedPrice])* [Discount] to add the values in the ExtendedPrice field, and then multiply that amount by the value of the Discount field, which produces the discounted amount of an order.

بمصدر ترتبط يحتويها التي التحكم عناصر و النموذجأنه. على يدل أيضا البيانات مصدر للنموذج، البيانات

جداول واحد، جدول إلى يستند أن يمكن السجل مصدرأساس ) على ذاته حد في هو الذي استعالم أو متعددة،

.) لعنصر البيانات مصدر ويخضع أكثر أو واحد جدول . التحكم عنصر مصدر الخاصية بواسطة محدد تحكمحقل إلى التحكم عنصر مصدر الخاصية تعيين يمكن

. تعبير أو للنموذج السجل مصدر في معينالنموذج إلى نص مربع إضافة يمكنك المثال، سبيل على

مثل تعبير Sum([ExtendedPrice])* [Discount]=وأدخلالحقل في القيم ، ExtendedPriceإلضافة

التي الحقل خصم قيمة من المبلغ هذا مضاعفة ثم ومن. الطلبية في الخصم كمية تنتج

Page 27: Lesson15 Set Form Controls

Abdullatif [email protected]

To modify the record source for a form, open the property sheet and then click the property sheet’s Data tab. You can choose a different table or query by clicking in the Record Source box and then clicking the arrow to display a list of tables and queries in the database. You can also click the ellipsis button (…) in the Record Source box to open the Query Builder, which is similar to the Query Designer. In the Query Builder, click Show Table on the Query Tools Design tool tab to open the Show Table dialog box. You can then select other tables or queries to add to the form’s record source. Use the Field list in the design grid to select the fields you want to include on the form. If a form is based on a query, the Query Builder displays the record source as a SQL statement that you can edit if you are familiar with SQL keywords and other elements. Close the Query Builder to return the form to Design view.

انقر ثم الخصائص صفحة افتح للنموذج، السجل مصدر لتعديل . اختيار يمكنك الخصائص ورقة بيانات التبويب عالمة فوق

مصدر مربع في النقر طريق عن مختلف استعالم أو جدولالجداول قائمة لعرض السهم على النقر ثم السجالت

. الزر فوق النقر أيضا يمكنك البيانات قاعدة في واالستعالماتالذي)...( االستعالم، منشئ لفتح السجالت مصدر المربع في

. االستعالم مصمم يشبهعالمة على جدول إظهار فوق انقر االستعالم، منشئ في

إظهار الحوار مربع لفتح تصميم أداة استعالم أدوات التبويبجدول.

تضاف التي األخرى االستعالمات أو الجداول تحديد يمكنك ثم . شبكة في الحقول قائمة استخدام للنموذج السجل مصدر إلى

. النموذج في تضمينها تريد التي الحقول لتحديد التصميماالستعالم منشئ يعرض االستعالم، على يعتمد النموذج كان إذا

كعبارة السجل معتادا SQLمصدر كنت إذا تحريرها يمكنك التيتعليمات . SQLعلى االستعالم منشئ أغلق العناصر من وغيرها

. النموذج تصميم عرض طريقة الى للعودة

Page 28: Lesson15 Set Form Controls

Abdullatif [email protected]

A form also has a Record Source Type property that you can set to one of three values to specify how users work with the form to insert and update data: • Dynaset This is the default setting. When the Record Source

Type property is set to Dynaset, you can edit bound controls based on a single table or on tables with a one-to-one relationship. For controls bound to fields based on tables with a one-to-many relationship, you cannot edit data from the linking field for the table on the “one” side of the relationship unless the Cascade Update option is set for the relationship between the tables.

• Dynaset (Inconsistent Updates) Specifying this setting makes all controls bound to a field editable.

• Snapshot Specify Snapshot to prevent updates to any of the fields displayed on a form.

To modify the Control Source property for a specific control, open the property sheet and display its Data tab. Click in the Control Source box, and then choose another field from the form’s record source, or click the ellipsis to open the Expression Builder, which you can use to create an expression for a calculated control.

واحدة إلى تعيينها يم̂كنك التي السجالت مصدر نوع خاصية له أيضا النموذجوتحديث إلدراج النموذج مع المستخدمين عمل كيفية لتحديد قيم ثالث من

البيانات:. حيوية مجموعة خاصية نوع تعيين تم عندما االفتراضي اإلعداد هو هذا

المنضمة التحكم عناصر تحرير يمكنك حيوية، لمجموعة المصدر سجل . برأس رأس عالقة مع جداول الى أو واحد جدول إلى تستند

رأس عالقة مع جداول أساس على الحقول إلى منضمة تحكم لعناصرواحد جانب من للجدول ربط حقول من البيانات تحرير يمكنك ال بأطراف،

الجداول . بين للعالقة تحديث تتالي الخيار تعيين تم إذا إال العالقة من) متناسقة ) غير تحديثات حيوية جميع مجموعة يجعل اإلعداد هذا تحديد

. للتحرير قابل حقل إلى المنضمة التحكم عناصر.لقطة نموذج في المعروضة الحقول من أي في التحديثات لمنع لقطة حدد

صفحة افتح محددة، تحكم لعنصر التحكم عنصر مصدر خاصية لتعديل . الم̂ربع فوق انقر به الخاصة البيانات التبويب عالمة وعرض الخصائص

للنموذج، السجل مصدر من آخ̂ر حقل اختر ثم التحكم، عنصر مصدرتعبير )...( إلنشاء استخدامها يمكنك والتي التعبير، منشئ لفتح فوق انقر أو

. محسوب تحكم عنصر عن

Page 29: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 30: Lesson15 Set Form Controls

Abdullatif [email protected] modify a form’s data source

النموذج بيانات مصدر لتعديل1. Open the form in Design view. 2. On the Form Design Tools Design tool tab,

in the Tools group, click Property Sheet. 3. On the property sheet’s Data tab, click in

the Record Source property box. 4. Select a different table or query from the

list in the property box. Or Click the ellipsis to open the Query Builder, use the Query Builder to modify the fields in the form’s record source, and then close the Query Builder. 5. Set the Record Source Type property to

Dynaset, Dynaset (Inconsistent Updates), or Snapshot.

.1. التصميم عرض طريقة في النموذج افتح

.2 , في التصميم أداة تبويب النموذج ̂تصميم أدوات من. , الخصائص ورقة اضغط أدوات مجموعة

.3 , مربع اضغط الخصائص ورقة في بيانات تبويب من. السجل مصدر خصائص

مربع 4. في القائمة من استعالم أو مختلف جدول اخترالخصائص.

, استخدم )...( االستعالم منشئ لفتح زر على اضغط أوسجل مصدر في الحقول لتعديل االستعالم منشئ

النموذج, . االستعالم منشئ أغلق ثم

.5 , حيوية لمجموعة السجل مصدر نوع خاصية عين.) متناسقة, ) غير تحديثات حيوية مجموعة أو لقطة

Page 31: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 32: Lesson15 Set Form Controls

Abdullatif [email protected] modify the Control Source property

التحكم عنصر مصدر خاصية لتعديل1. Open the form in Design view, and

then select the control you want to work with.

2. On the Design tool tab, in the Tools group, click Property Sheet.

3. On the property sheet’s Data tab, click in the Control Source property box.

4. Select a different field from the list in the property box.

Or Click the (...)to open the Expression Builder to create an expression for the control.

.1 , ثم التصميم عرض طريقة في النموذج افتح. به العمل تريد الذي التحكم عنصر اختر

.2 , , أدوات مجموعة في التصميم أداة تبويب من. الخصائص ورقة على اضغط

.3 , اضغط الخصائص ورقة في بيانات تبويب من. التحكم عنصر مصدر خصائص مربع على

مربع 4. في القائمة من مختلف حقل اخترالخصائص.

إلنشاء )...( التعبير منشئ لفتح على اضغط أو. التحكم لعنصر تعبير

Page 33: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 34: Lesson15 Set Form Controls

Abdullatif [email protected]

Sizing and ordering controls in Design view

عرض طريقة في التحكم عناصر ترتيب و تحجيم•التصميم In Design view, the Form Design Tools Arrange tool

tab includes the Sizing & Ordering group. This group provides commands you can apply to controls to modify their size, the spacing between them, and their alignment. For example, if you want two or more text boxes to be the same size, select the text box controls, click Size/Space, and then click one of the options in the Size group. You can also use the Size/Space menu to control the spacing between controls and to group controls so that you can reposition the controls as a unit.

• Use the Align command in the Sizing & Ordering group to align a group of controls at the left, right, top, or bottom. First select the controls, and then select the alignment option you want to apply. The Left option, for example, aligns the left borders of the controls with the control farthest to the left. The Bring To Front and Send To Back commands change the relationship of objects that overlap on a form.

أداة • تبو̂يب نموذج تصميم وأدوات التصميم، عرض طريقة في . هذه تقدم و التحجيم و الترتيب مجموعة تشمل الترتيب

التحكم عناصر على تطبق أن يمكن التي األوامر المجموعة . إذا المثال، سبيل على محاذاتها و بينهما والتباعد حجمها، لتعديل

الحجم، بنفس ليكون النص مربعات من أكثر أو اثنين تريد كنت / ثم ومن التباعد، الحجم فوق انقر النص، مربع ̂تحك̂م عنا̂صر حدد

. أيضا يمكنك الحجم مجموعة في الخيارات أحد فوق انقر / التحكم عناصر بين للتحكم التباعد الحجم القائمة استخدام

. واحد كعنصر التحكم عنا̂صر وض̂ع يمكنك بحيث العناصر وتجميعلمحاذاة • التر̂تيب و التحجيم مجموعة في محاذاة األمر استخدام

أو أعلى، واليمين، اليسار في التحكم عنا̂صر من مجموعةتريد. التي المحاذاة خيار حدد ثم التحكم، عنا̂صر حدد أوال أسفلالح̂دود. بمحاذاة يقوم المثال، سبيل على اليسار، الخيار تطبيقه

. اليسار إلى األبعد التحكم لعنصر مع التحكم لعناصر اليسرىبين العالقة تغير الخلف إلى االرسال و األمام إلى للجلب أوامر

. نموذج في تتداخل التي الكائنات

Page 35: Lesson15 Set Form Controls

Abdullatif [email protected] size and space controls in Design view

التصميم عرض في التحكم عناصر تباعد و لتحجيم

1. In the Navigation pane, right-click the form, and then click Design View.

2. Select the control or controls you want to work

with. 3. On the Form Design Tools

Arrange tool tab, in the Sizing & Ordering group,

click Size/Space, and then click the option you want

to apply to the controls.

.1 , , النموذج على يمين كليك اضغط التنقل جزء ̂نافذة من. التصميم عرض اضغط ثم

.2. بها العمل تريد التي التحكم عناصر او عنصر اختر

.3 , و الترتيب مجموعة في الترتيب أداة تبويب النموذج تصميم أدوات منالحجم, اضغط , الحجم تطبيقه/ تريد الذي الخيار اضغط ثم المسافة. التحكم لعناصر

Page 36: Lesson15 Set Form Controls

Abdullatif [email protected] align controls in Design view

التصميم عرض في التحكم عناصر لمحاذاة

1. In the Navigation pane, right-click the form, and then click Design View.

2. Select the control or controls you want to work

with. 3. On the Arrange tab, in the

Sizing & Ordering group, click Align, and then click

the option you want to apply

to the controls.

.1 , , النموذج على يمين كليك اضغط التنقل جزء نافذة من. التصميم عرض اضغط ثم

.2. بها العمل تريد التي التحكم عناصر او عنصر اختر

.3 , , الخيار اضغط ال̂حجم و الترتيب مجموعة في محاذاة تبويب من. التحكم لعناصر تطبيقه تريد الذي

Page 37: Lesson15 Set Form Controls

Abdullatif [email protected] change the order of controls

التحكم عناصر ترتيب لتغيير

• 1. In the Navigation pane, right-click the form, and then click Design View. • 2. Select the control or

controls you want to work with.

• 3. On the Arrange tab, in the Sizing & Ordering

group, click Send to Back or

Bring to Front.

.1 , , عرض اضغط ثم النموذج على يمين كليك اضغط التنقل جزء نافذة منالتصميم.

.2. بها العمل تريد التي التحكم عناصر او عنصر اختر

.3 , , الى ارسال اضغط الحجم و الترتيب مجموعة في محاذاة تبويب من. المقدمة, الى احضار او الخلف

Page 38: Lesson15 Set Form Controls

Abdullatif [email protected]

Working with control layouts in Layout view

عرض في التحكم عناصر تخطيطات مع العمل In Layout view, a form’s controls are contained within aالتخطيط

layout that helps manage the alignment and arrangement of the controls. For desktop database forms, Access provides two default layouts. In the tabular layout, controls are arranged in columns and rows (something like a spreadsheet or a table). Labels are displayed in the form’s Header section (like column headings). Access places the text box controls in the form’s Detail section. In the stacked layout, controls appear in two columns, with labels in the column at the left and text box controls at the right. All controls in the stacked layout are included in a single form section. Access uses the stacked layout for forms you create by using the Form command and for blank forms you create in Layout view (by clicking Blank Form on the Create tab). You can switch between the tabular and stacked layouts by selecting a layout option in the Table group on the Form Layout Tools Arrange tool tab.

التخطيط عرض ضمن النموذج تحكم عناصر التخطيط، عرض في . في للنماذج التحكم عناصر و̂ترتيب محاذاة إدارة على تساعد التيالتخطيطات من اثنين األكسيس يوفر المكتب، سطح بيانات قاعدة

في. التحكم ̂عناصر ترتيب يتم الج̂دولي، التخطيط في االفترا̂ضية .) عرض ) يتم جدول أو بيانات جدول مثل شيء والصفوف األعمدة

.) يضع ) األعمدة عناوين مثل النموذج رأس قسم في التسميات . للنموذج التفاصيل مقطع في النص مرب̂ع تحكم عناصر األكسيس

مع عمودين، في التحكم عناصر تظهر مكدسة، التخطيط في . اليمين ̂على النص مربع ̂عناصر و اليسار على العمود في تسميات

القسم في مكدسة تخطيط في التحكم ̂عناصر كافة تضمين يتم . األكسيس يستخدم مفرد التي نموذج للنماذج المكدسة تخطيط

بإنشائها تقوم فارغة ونماذج نموذج األمر باستخدام بإنشائها قمت .) إنشاء ) التبويب عالمة ̂ضمن فارغ نموذج بالنقر تخطيط عرض في

اختيار خالل من والمكدسة الجدولة تخطيطات بين التبديل يمكنكنموذج تخطيط أدوات على الجدول مجموعة في تخطيط خيار

. الترتيب أداة تبويب

Page 39: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 40: Lesson15 Set Form Controls

Abdullatif [email protected]

• You can also use the Gridlines command in the Table group to display gridlines on a form. The options are Both, Horizontal, Vertical, Top, Bottom, or None. None is the default selection in Layout view. Adding gridlines by selecting one of the other options helps highlight certain controls and other information. Use the Color, Width, and Border options at the bottom of the Gridlines menu to change how gridlines appear.

• The commands in the Rows & Columns group let you expand the area of a layout by inserting rows or columns. To add a row to a layout, select a cell that’s adjacent to where you want the new row’s location, and click Insert Above or Insert Below. Similarly, select an adjacent cell, and then click Insert Left or Insert Right to insert a column. To delete a row or column, right-click a cell in the row or column you want to delete, and then click Delete Row or Delete Column.

المجموعة • في الشبكة خطوط األمر استخدام أيضا يمكنك . على هي الخيارات نموذج في الشبكة خطوط لعرض جدول . التحديد هو بال بال أو أسفل، أعلى، عمودي، أفقي، سواء، حد

. عن الشبكة خطوط إضافة تخطيط عرض في االفتراضيعناصر تمييز على يساعد األخرى الخيارات أحد اختيار طريق

. المعلومات من وغيرها معينة تحكمأسفل في والحدود والعرض، األلوان، خيارات استخدام

. الشبكة خطوط ظهور كيفية لتغيير الشبكة خطوط القائمةمجال • توسع تدعك واألعمدة الصفوف مجموعة في األوامر

. صف إلضافة األعمدة أو الصفوف بإدراج التخطيط مساحةالصف لموقع ضبطها تريد التي الخلية حدد تخطيط، إلى

. وبالمثل، أسفل إدراج أو فوق إدراج فوق انقر ثم الجديد،أو اليسار إدراج فوق انقر ثم ومن المجاورة، الخلية حدد

. بزر انقر عمود أو صف لحذف عمود إدراج في يمين إدراجتريد الذي العمود أو الصف في خلية فوق األيمن الماوس

حذفه، . العمود حذف أو صف حذف فوق انقر ثم

Page 41: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 42: Lesson15 Set Form Controls

Abdullatif [email protected]

• Another way to alter the arrangement of a layout is to merge or split cells. By merging cells, one control spans two columns or rows. After selecting the cells you want to merge, click Merge in the Merge/Split group. In contrast, when you split a cell in a layout, you can place two controls in that cell. Use the Split Horizontally or Split Vertically command to split cells.

• By using the Move Up and Move Down commands in the Move group, you can reposition rows or a single cell in a layout. Click a cell in the row you want to move, click Select Row in the Rows & Columns group, and then click Move Up or Move Down.

• The three commands in the Arrange tool tab’s Position group adjust the spacing between controls, the margins around the text displayed by a control, and how controls are anchored within the layout. Each setting on the Control Margins menu—None, Narrow, Medium, and Wide—progressively increases the space between the upper-left corner of a control and the position of the control’s text. The Wide setting can obscure text in a text box that is shorter than approximately .3 inches in height (assuming the font size you are using is the default 11 points).

• . الخاليا تقسيم أو دمج هو و التخطيط ترتيب لتغيير أخرى طريقة هناك . الصفوف أو األعمدة من باثنين واحد تحكم عنصر يمتد الخاليا، بدمج

مجموعة في دمج فوق انقر دمجها، تريد التي الخاليا تحديد بعد . وضع/ يمكنك التخطيط، في خلية تقسيم عند المقابل، في تقسيم دمج

. أو أفقي تقسيم أمر استخدم الخلية تلك في التحكم عناصر من اثنين. الخاليا لتقسيم عمودي تقسيم

نقل، • مجموعة في ألسفل وتحريك ألعلى تحريك أوامر باستخدام . في خلية فوق انقر تخطيط في واحدة خلية أو الصفوف إعادة يمكنك

الصفوف مجموعة في صف تحديد انقر نقلها، تريد التي الصف. ألسفل تحريك أو ألعلى تحريك فوق انقر ثم واألعمدة،

التباعد • لضبط الترتيب أداة تبويب الموضع مجموعة في الثالثة األوامرعنصر بواسطة المعروض النص حول الهوامش التحكم، عناصر بين

. التخطيط داخل التحكم عناصر تعليم يتم وكيف التحكم،عريض و متوسط، بال، التحكم عنصر هوامش قائمة في اإلعداد كلتحكم عنصر من اليسرى العلوية الزاوية بين المسافة تدريجيا يزيد

. التحكم لعنصر النص وموضعأقصر هو الذي النص مربع في النص تحجب أن يمكن العريض اإلعداد

من يقرب ما االرتفاع 0.3من في بوصةاالفتراضي) هو تستخدمه الذي الخط حجم افتراض (.11على نقطة

Page 43: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 44: Lesson15 Set Form Controls

Abdullatif [email protected]

• Settings in the Control Padding area (also None, Narrow, Medium, and Wide) affect the space between controls in the layout. Click Select Layout in the Rows & Columns group, click Control Padding, and then click the padding option you want to apply.

• Resizing a form’s window can affect how controls are arranged. By using one of the anchoring options that Access provides, you can fasten controls to the top left (the default position), top right, bottom left, or one of the other anchoring positions. After you select an option on the Anchoring menu, resize the form window to test the effect. You can anchor the entire layout or specific elements on a form. For example, if you add a line to set off a section of a form, apply the Stretch Across Top anchoring option to have the line stretch across the top of the form when the form window is resized.

بال، ) • أيضا البادئة بالمسافة التحكم منطقة في اإلعدادات ) عناصر بين المسافة على تؤثر عريض و متوسط، ضيق،

. مجموعة في تخطيط تحديد فوق انقر التخطيط في التحكملعنصر البادئة بالمسافة التحكم فوق انقر واألعمدة، الصفوف

التحكم، . تطبيقه تريد الذي الخيار فوق انقر ثم

عناصر • ترتيب كيفية على تؤثر النموذج نافذة حجم تغييريوفرها. التي االرتساء الخيارات أحد باستخدام التحكم

اليسار األكسيس أعلى إلى التحكم عناصر ربط يمكن ، ) من) واحد أو اسفل، يسار اليمين، أعلى ، االفتراضي الموضع . إرتساء، القائمة من الخيار تحديد بعد األخرى االرتساء مواقع . عناصر ارتساء يمكنك التأثير الختبار النموذج إطار حجم غير

. سبيل على النموذج في بأكملها العناصر حدد أو التخطيططبق النموذج، من جزء لتفصل خط بإضافة قمت إذا المثال،الجزء عبر الخط امتداد لجعل أعلى عبر التمدد ارتساء خيار

. النموذج إطار حجم تغيير عند النموذج من العلوي

Page 45: Lesson15 Set Form Controls

Abdullatif [email protected]

Page 46: Lesson15 Set Form Controls

Abdullatif [email protected] work with control layouts in Layout view

التخطيط عرض في التحكم عناصر مخطط مع للعمل1. In the Navigation pane, right-click the form,

and then click Layout View. 2. Click the Form Layout Tools Arrange tool tab. 3. To apply a different default layout to the form, click Stacked or

Tabular in the Table group. 4. To insert a row or column in the layout, click a cell in the adjacent row

or column, click Select Row or Select Column in the Rows & Columns group, and then click Insert Above or Insert Below (for rows), or Insert Left or Insert Right (for columns).

5. To merge two cells in the layout, select the cells, and then click Merge in the Merge/Split group.

6. To reposition a row in the layout, click a cell in the row, click Select Row in the Rows & Columns group, and then click Move Up or Move Down in the Move group.

7. To specify margins for a control or the layout, select the control or click Select Layout in the Rows & Columns group. In the Position group, click Control Margins, and then click the option you want to apply.

8. To insert padding for a control or the layout, select the control or click Select Layout in the Rows & Columns group. In the Position group, click Control Padding, and then click the option you want to apply.

9. To apply an anchoring option to the layout, click Select Layout in the Rows & Columns group. In the Position group, click Anchoring, and then choose the option you want to apply.

.1. , , التخطيط عرض اضغط ثم النموذج على يمين كليك اضغط التنقل جزء نافذة من

.2. النموذج تخطيط أدوات من الترتيب أداة تبويب اضغط

.3 , , مكدس اضغط للنموذج مختلف افتراضي تخطيط لتطبيق. الجدول مجموعة في جدولي او

.4 , , اضغط عمود أو صف ضبط في الخلية على اضغط التخطيط من عمود او صف إلدراج , على اضغط ثم األعمدة و الصفوف مجموعة في عمود تحديد او صف تحديد على

. , لألعمدة يمين ادراج او يسار ادراج او للصفوف اسفل ادراج او أعلى ادراج.5 , دمج مجموعة في دمج على اضغط ثم الخاليا اختر التخطيط في خليتين .لدمج تقسيم/.6 , , في صف تحديد اضغط الصف في الخلية اضغط التخطيط في الصف موضع لتغيير

, مجموعة في اسفل تحريك او أعلى تحريك اضغط ثم األعمدة و الصفوف مجموعةنقل.

.7 , تحديد اضغط او التحكم عنصر اختر للتخطيط او التحكم لعنصر الهوامش لتحديد , . هوامش اضغط الموضع مجموعة في األعمدة و الصفوف مجموعة في التخطيط

. , تطبيقه تريد الذي الخيار اضغط ثم التحكم عنصر.8 , تحديد اضغط او التحكم عنصر حدد للتخطيط او التحكم لعنصر البادئة المسافة إلدراج

, . التحكم اضغط الموضع مجموعة في األعمدة و الصفوف مجموعة في التخطيط. , تطبيقه تريد الذي الخيار اضغط ثم البادئة بالمسافة

.9 , و الصفوف مجموعة في التخطيط تحديد اضغط للتخطيط االرتساء خيار لتطبيق. , , تطبيقه. تريد الذي الخيار اختر ثم ارتساء اضغط الموضع مجموعة في األعمدة

Page 47: Lesson15 Set Form Controls

Abdullatif [email protected] Managing labels

التسميات إدارة• By default, Access includes a label when you add a

control that can display data on a form. You can also use a label control for headings and to display descriptive or instructive text blocks on a form.

• A label’s Caption property is set by Access to match the Caption property set for a related field. Change the text displayed in a label by selecting the label and then clicking in the label control. You can then edit the label’s text. (Access resizes the label to display the modified caption.)

• For a specific form, you can define the properties for a label control and then use those properties as default settings. (You can also set default control properties for other types of controls.)

• Add a label to a form, and then use the Format tool tab and the property sheet to define the label as you want it to appear. Some properties you might set include Fore Color, Background Color, Border Style, and Border Color. Click Set Control Defaults in the Controls group on the Design tool tab while this label is selected. New labels you place on the form will use the new default settings.

التي • تحكم عنصر إضافة عند التسميات األكسيس يشمل افتراضيا، . تحكم عنصر استخدام أيضا يمكنك النموذج في البيانات تعرض

. النموذج في المفيدة أو الوصفية النص كتل وعرض للعناوين التسميةمع • لتتناس̂ب األكسيس خالل من التوضيحية التسمية خاصية تعيين يتم

. المعروض النص تغيير الصلة ذات للحقل التوضيحية التسمية خاصيةتحكم عنصر في فوق النقر ثم التسمية تحديد طريق عن التسمية في

( . حجم. األكسيس يغير التسمية نص تحرير ذلك بعد يمكنك التسمية.) المحتوى النص حسب معدلة التسمية لتعر̂ض التسمية تحكم عنصر

استخدام • ثم للتسمية تحكم عنصر خصائص تحديد يمكنك معين، لنموذج ( . خصائص تعيين أيضا يمكنك افتراضية كإعدادات الخصائص تلك

). التحكم عناصر من لغيرها االفتراضية التحكمورقة • أداة تنسيق التبويب عالمة استخدم ثم نموذج، إلى تسمية أضف

. قد التي الخصائص بعض تظهر أن تريد كما التسمية لتحديد الخاصيةولون الحدود، نمط الخلفية، لون األمامي، اللون مجموعة تشمل

عناصر. مجموعة في افتراضي تحكم عنصر تعيين فوق انقر الحدود . التسمية هذه تحديد عند تصميم أداة التبويب عالمة في التحكماإلعدادات ستستخدم النموذج في تضع التي الجديدة التسميات

. الجديدة االفتراضية

Page 48: Lesson15 Set Form Controls

Abdullatif [email protected]

To update default settings for a label

للتسمية االفتراضية االعدادات لتحديث1. Open a form in Design view or

Layout view. 2. Add a label control to the form,

and then use options on the Form Design Tools Format tool tab and the property sheet to format the label as you want it to appear.

3. On the Form Design Tools Design tool tab, in the Controls group, click More, and then click Set Control Defaults.

عرض 1. طريقة في النموذج افتح. التخطيط عرض أو التصميم

.2 , للنموذج التسمية تحكم عنصر أضفأداة تبويب من الخيارات استخدم ثمو النموذج تصميم أدوات في النموذجكما التسمية لتنسيق الخصائص ورقة

. عرضها تريدأدوات 3. في النموذج أداة تبويب من

, التحكم مجموعة في النموذج تصميم , عنصر تعيين اضغط ثم أكثر اضغط

. كافتراضي التحكم

عرض 1. طريقة في النموذج افتح. التخطيط عرض طريقة أو التصميم

الى 2. التسمية تحكم عنصر أضفمن, الخيارات استخدم ثم النموذج

صفحة في التنسيق أداة تبويب , استخدم و النموذج تصميم أدواتالتسمية لتنسيق الخصائص ورقة

. تظهر أن تريد ما حسبأدوات 3. في التصميم أداة تبويب من

, مجموعة من النموذج تصميم , , ثم أكثر اضغط التحكم عناصر

. افتراضي تحكم عنصر تعيين اضغط

Page 49: Lesson15 Set Form Controls

Abdullatif [email protected]