اذهب الي المحتوي
أوفيسنا
بحث مخصص من جوجل فى أوفيسنا
Custom Search

ماذا يعني هذا الرمز في الكود &


إذهب إلى أفضل إجابة Solved by kha9009lid,

الردود الموصى بها

34 minutes ago, ازهر عبد العزيز said:

أرى هذا الرمز في العديد من الاكواد ولكني بصراحة لا اعرف معنا فما هو

Read this:

" " & basically separates hard-coded items from variables, and joins them together.

ex: Debug.Print "Printer name: " & .DeviceName & "Printer driver: " & _ .Driver Name

Debug.Print "Printer name: " between the quotes is some hard-coded text. whatever is typed in there comes out 'as-is'.

& will connect what came before it to what comes after it - it concatenates the two.

.DeviceName is a property of some object (that object is not included in the example). it does not have to be in quotes.

another quick ex. if you have first and last names in a table and want to join them:

PersonFName & " " & PersonLName

& " " & will put a space between the two values of first name and last name - the space is hard-coded.

رابط هذا التعليق
شارك

السلام عليكم 🙂

 

هناك استعمال آخر له ، ولكن في تسمية زر الامر ، هكذا:

1089.Clipboard01.jpg.723c7836447ae13498d4a1e21e1ecd92.jpg

.

 

1089.Clipboard02.jpg.57b1cbe9d105559ae214301f1709f932.jpg

.

 

1089.Clipboard03.jpg.9e26e130b4c2aee7ab2302facde03730.jpg

.

فيظهر النموذج بهذه الطريقة (لاحظ الحروف اللي تحتها خط) ،

فبدل ان ننقر على الزر ، نستطيع ان نستعمل الكيبورد ، فيقوم مقام النقر على الزر ، هكذا :

Alt + m (امسك الزر Alt على الكيبورد ، وفي نفس الوقت انقر على الحرف m)

Alt + s

Alt + خ

1089.Clipboard04.jpg.4be9f59b969fdc4ee70e829d15f2d5bf.jpg

.

 

جرب وشوف ، ولا تنسى ان لغة الشاشة يجب ان تكون لغة الكتابة على الزر ، يعني الكيبورد لازم يكون انجليزي لإستعمال m و s ، ويجب ان يكون عربي لإستعمال خ 🙂

جعفر

1089.Command button shortcut.mdb

  • Like 1
رابط هذا التعليق
شارك

1 ساعه مضت, jjafferr said:

السلام عليكم 🙂

 

هناك استعمال آخر له ، ولكن في تسمية زر الامر ، هكذا:

1089.Clipboard01.jpg.723c7836447ae13498d4a1e21e1ecd92.jpg

.

 

1089.Clipboard02.jpg.57b1cbe9d105559ae214301f1709f932.jpg

.

 

1089.Clipboard03.jpg.9e26e130b4c2aee7ab2302facde03730.jpg

.

فيظهر النموذج بهذه الطريقة (لاحظ الحروف اللي تحتها خط) ،

فبدل ان ننقر على الزر ، نستطيع ان نستعمل الكيبورد ، فيقوم مقام النقر على الزر ، هكذا :

Alt + m (امسك الزر Alt على الكيبورد ، وفي نفس الوقت انقر على الحرف m)

Alt + s

Alt + خ

1089.Clipboard04.jpg.4be9f59b969fdc4ee70e829d15f2d5bf.jpg

.

 

جرب وشوف ، ولا تنسى ان لغة الشاشة يجب ان تكون لغة الكتابة على الزر ، يعني الكيبورد لازم يكون انجليزي لإستعمال m و s ، ويجب ان يكون عربي لإستعمال خ 🙂

جعفر

1089.Command button shortcut.mdb 548 \u0643\u064a\u0644\u0648 \u0628\u0627\u064a\u062a · 2 downloads

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

k.jpg

رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information