المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : عمليات حسابية لعدة مدخلات input


نقطة حرف
01-02-2017, 05:31 PM
لدي عدد ( 6 ) input

( 1 ) input مقسومًا على ( 2 ) input مضروبًا في ( 100 )

= ( 3 ) input ( النسبة المئوية )

س1 : مالكود لحساب هاته النتيجة ؟

----------------------------------

( 4 ) input ( 5 ) + input

= ( input ( 6

س2 : مالكود لحساب هاته النتيجة ؟

----------------------------------

س3: مالكود الذي يوضع بـ input لجعله يقبل الأرقام فقط ؟

س4: مالكود الذي يوضع بـ input لجعله يقبل رقم مكون من عددين فقط ( آحاد وعشرات ) ؟
أي يقبل من ( 1 - 99 ) لا يقبل الـ 100 وأكثر

----------------------------------

س5: مالشرط الذي يوضع للقيام بعمل ما بعد إدخال قيمة محددة في الـ input ؟


والشكر لكم مقدمًا

ثامر أبو بلقيس
01-02-2017, 07:18 PM
موفق بإذن الله ... لك مني أجمل تحية . :abc_152:

عبد الهادي بهاب
01-02-2017, 07:37 PM
موفق بإذن الله ... لك مني أجمل تحية .
نحاوال حتى قدوم الاخوة

نقطة حرف
02-02-2017, 04:38 PM
لا زلت أنتظر قدوم الإخوة :abc_085:

ياسرهتهت
02-02-2017, 05:08 PM
موفق بإذن الله ... لك مني أجمل تحية .

عبد الهادي بهاب
02-02-2017, 08:15 PM
فيما يتعلق سالؤال 3 و 4

من خصائص الانبوت

http://store6.up-00.com/2017-02/148606258338963.png

فعل Input Mask

ثم Options


ثم املا الخانة الاولى بعلامة ####### و التي تقبل الارقام فقط و حسب عددها يكون تشكيل الرقم

http://store6.up-00.com/2017-02/148606258325972.png

اي من اجل عدد من رقمين ضع اثنين من #

http://store6.up-00.com/2017-02/148606258315971.png
لاحظ ما جاء في المساعد

-------------------------------------------------

An input mask is a special pattern that controls what the user can type into a MaskedInput dialog or input object at run time. The mask can be any combination of regular text characters (literal characters) and special characters. Each special character, as outlined below, represents one "place" in the edit field where the user can type a character. Different special characters allow different kinds of characters to be typed in their "place" by the user. For example, the # character only allows a digit between 0 and 9 to be typed in its place, and the ? character only allows a letter between a and Z.

Note: The special characters you use in the input mask determine what the user will be allowed to type into the edit field.

You can use any literal characters to include "normal" characters in the edit field. The user will type "around" the literal characters as they fill in the "blanks" created by the special characters.

Here are the special characters that you can use in an input mask:

Note: Some of these special literal characters adapt to the user's system settings, so they may need to be forced on all systems using "\" before the character.

.
Decimal. (Special literal.) This will be replaced by the character specified as the decimal in the user's international settings. To force a period on all systems, use \. instead.

,
Thousands separator. (Special literal.) This will be replaced by the character specified as the thousands separator in the user's international settings. To force a comma on all systems, use \, instead.

:
Time separator. (Special literal.) This will be replaced by the character specified as the time separator in the user's international settings. To force a colon on all systems, use \: instead.

/
Date separator. (Special literal.) This will be replaced by the character specified as the date separator in the user's international settings. To force a slash on all systems, use \/ instead.

#
Digit character (0-9). For every # in the input mask, the user will only be able to enter a digit between 0 and 9. To display a literal number sign (#), use \# instead.

A
Alphanumeric character (0-9 and a-Z). For every A in the input mask, the user will be able to enter any letter from a to Z or any digit between 0 and 9. To display a literal "A", use \A instead.

?
Alphabetic character (a-Z). For every ? in the input mask, the user will only be able to enter a letter from a to Z. To display a literal question mark, use \? instead.

>
Alphabetic character, but forces any letters typed to uppercase (A-Z). For every > in the input mask, the user will only be able to enter a letter from A to Z, and whatever letter they type will be converted to uppercase. To display a literal greater-than sign, use \> instead.

<
Alphabetic character, but forces any letters typed to lowercase (a-z). For every < in the input mask, the user will only be able to enter a letter from a to z, and whatever letter they type will be converted to lowercase. To display a literal less-than sign, use \< instead.

&
ANSI Character. Allows any ANSI character in the following ranges: 32-126 and 128-255. To display a literal ampersand, use \& instead.

\
Literal escape. Use this to make a special character act as a literal in the input mask.

For example, you could create a mask for an IP address:

IP \Address\: ###\.###\.###\.###

...which would appear as:

IP Address: . . .

(Note that we needed to use the literal escape for the 'A' in Address, the colon, and all three decimal points.)



------------------------------------------------

عبد الهادي بهاب
02-02-2017, 08:39 PM
هذا مثال مفتوح حسب المطلوب
يمكن ان يفي بالغرض

http://up.top4top.net/downloadf-398k55io1-rar.html

نقطة حرف
03-02-2017, 01:22 AM
فيما يتعلق سالؤال 3 و 4

من خصائص الانبوت

http://store6.up-00.com/2017-02/148606258338963.png

فعل Input Mask

ثم Options


ثم املا الخانة الاولى بعلامة ####### و التي تقبل الارقام فقط و حسب عددها يكون تشكيل الرقم

http://store6.up-00.com/2017-02/148606258325972.png

اي من اجل عدد من رقمين ضع اثنين من #

http://store6.up-00.com/2017-02/148606258315971.png
لاحظ ما جاء في المساعد

-------------------------------------------------

An input mask is a special pattern that controls what the user can type into a MaskedInput dialog or input object at run time. The mask can be any combination of regular text characters (literal characters) and special characters. Each special character, as outlined below, represents one "place" in the edit field where the user can type a character. Different special characters allow different kinds of characters to be typed in their "place" by the user. For example, the # character only allows a digit between 0 and 9 to be typed in its place, and the ? character only allows a letter between a and Z.

Note: The special characters you use in the input mask determine what the user will be allowed to type into the edit field.

You can use any literal characters to include "normal" characters in the edit field. The user will type "around" the literal characters as they fill in the "blanks" created by the special characters.

Here are the special characters that you can use in an input mask:

Note: Some of these special literal characters adapt to the user's system settings, so they may need to be forced on all systems using "\" before the character.

.
Decimal. (Special literal.) This will be replaced by the character specified as the decimal in the user's international settings. To force a period on all systems, use \. instead.

,
Thousands separator. (Special literal.) This will be replaced by the character specified as the thousands separator in the user's international settings. To force a comma on all systems, use \, instead.

:
Time separator. (Special literal.) This will be replaced by the character specified as the time separator in the user's international settings. To force a colon on all systems, use \: instead.

/
Date separator. (Special literal.) This will be replaced by the character specified as the date separator in the user's international settings. To force a slash on all systems, use \/ instead.

#
Digit character (0-9). For every # in the input mask, the user will only be able to enter a digit between 0 and 9. To display a literal number sign (#), use \# instead.

A
Alphanumeric character (0-9 and a-Z). For every A in the input mask, the user will be able to enter any letter from a to Z or any digit between 0 and 9. To display a literal "A", use \A instead.

?
Alphabetic character (a-Z). For every ? in the input mask, the user will only be able to enter a letter from a to Z. To display a literal question mark, use \? instead.

>
Alphabetic character, but forces any letters typed to uppercase (A-Z). For every > in the input mask, the user will only be able to enter a letter from A to Z, and whatever letter they type will be converted to uppercase. To display a literal greater-than sign, use \> instead.

<
Alphabetic character, but forces any letters typed to lowercase (a-z). For every < in the input mask, the user will only be able to enter a letter from a to z, and whatever letter they type will be converted to lowercase. To display a literal less-than sign, use \< instead.

&
ANSI Character. Allows any ANSI character in the following ranges: 32-126 and 128-255. To display a literal ampersand, use \& instead.

\
Literal escape. Use this to make a special character act as a literal in the input mask.

For example, you could create a mask for an IP address:

IP \Address\: ###\.###\.###\.###

...which would appear as:

IP Address: . . .

(Note that we needed to use the literal escape for the 'A' in Address, the colon, and all three decimal points.)



------------------------------------------------

رائع أيها الجميل :abc_114:

نقطة حرف
03-02-2017, 01:25 AM
هذا مثال مفتوح حسب المطلوب
يمكن ان يفي بالغرض

http://up.top4top.net/downloadf-398k55io1-rar.html

يفي بالغرض :abc_050:

جزاك ربي جنان الخلد ..

تبقى لدينا السؤال الخامس :

س5: مالشرط الذي يوضع للقيام بعمل ما بعد إدخال قيمة محددة في الـ input ؟

بمعنى :

عند كتابة رقم ( 4 ) بداخل الـ input يقوم البرنامج بتنفيذ أمر

وليكم مثلا .. ظهور صورة

ياسرهتهت
03-02-2017, 11:53 AM
يفي بالغرض :abc_050:

جزاك ربي جنان الخلد ..

تبقى لدينا السؤال الخامس :

س5: مالشرط الذي يوضع للقيام بعمل ما بعد إدخال قيمة محددة في الـ input ؟

بمعنى :

عند كتابة رقم ( 4 ) بداخل الـ input يقوم البرنامج بتنفيذ أمر

وليكم مثلا .. ظهور صورة
==========================
بسم الله الرحمن الرحيم
جرب الملف الموجود في المرفقات

موفق بإذن الله ... لك مني أجمل تحية .

فرح صالحي
03-02-2017, 02:18 PM
موفق بإذن الله ... لك مني أجمل تحية .

نقطة حرف
03-02-2017, 07:28 PM
==========================
بسم الله الرحمن الرحيم
جرب الملف الموجود في المرفقات

موفق بإذن الله ... لك مني أجمل تحية .


كان بالفعل مثلما أريد

رزقك الله الجنة ووالديك

شكرًا لك:abc_152:

منار بربرة
17-01-2019, 06:39 PM
مشكووووووووور

محمد سامر
03-07-2019, 08:55 AM
شـكــ وبارك الله فيك ـــرا لك ... لك مني أجمل تحية . :abc_152: