اذهب الي المحتوي
أوفيسنا

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

قام بنشر

وعليكم السلام ورحمة الله

حياك الله أخي العزيز

بالنسبة لتحويل الحروف الانجليزي الى كبيرة فيمكن استخدام هذا الكود :

ضع هذا الكود في الجنرال General لمحرر الفيجوال البيسك :

Public Sub ConvertToUpper()
'Test if control contains text
   If IsNull(Screen.ActiveControl) = False Then
'convert text to Upper Case
       Screen.ActiveControl = StrConv(Screen.ActiveControl, vbUpperCase)
   End If
End Sub
ثم ضع هذا الكود لحدث بعد التحديث لمربع النص وليكن اسمه Name والذي سيتم فيه التحويل :
Private Sub Name_AfterUpdate()
'Convert the text entered to Upper Case
   ConvertToUpper
End Sub

هذا الكود من عمل الأخت زهره حفظها الله ورعاها .

بالتوفيق

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