الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

سؤال : تيكست أيتم يلاحق مؤشر الماوس

Featured Replies

بتاريخ:

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

معليش سؤال ياشباب كيف أنشئ تيكست أيتم يلاحق الماوس

ومشكورين والله يعطيكم العافية

بتاريخ:

استخدم SYSTEM.MOUSE_X_POS و SYSTEM.MOUSE_Y_POS لتحصل على موقع الكرسور عند حركة الماوس
واستخدم Trigger خاص بالماوس لتعديل موقع الtext item
وهذا الكود شبية بما تريد عمله وهو مأخوذ من Forms Help

/* Trigger:  When-Mouse-Click 

Example:  Dynamically repositions an item if: 
the operator clicks mouse button 2 on an item and             
the operator subsequently clicks mouse button 2 on an area of the canvas that is 
not directly on top of another item. 
*/ 
DECLARE 
  item_to_move       VARCHAR(50); 
  the_button_pressed VARCHAR(50); 
  target_x_position  NUMBER(3); 
  target_y_position  NUMBER(3); 
  the_button_pressed VARCHAR(1); 
BEGIN 
  /* Get the name of the item that was clicked.*/ 
  item_to_move := :System.Mouse_Item; 
  the_button_pressed := :System.Mouse_Button_Pressed; 
  /* 
  **  If the mouse was clicked on an area of a canvas that is 
  **  not directly on top of another item, move the item to 
  **  the new mouse location. 
  */    
  IF item_to_move IS NOT NULL AND the_button_pressed =  '2' THEN 
     target_x_position := To_Number(:System.Mouse_X_Pos); 
     target_y_position := To_Number(:System.Mouse_Y_Pos); 
     Set_Item_Property(item_to_move,position, 
         target_x_position,target_y_position); 
     target_x_position := NULL; 
     target_y_position := NULL; 
     item_to_move := NULL; 
  END IF; 
END; 



ولا ادرى لمذا يظهر الكود السابق من اليمين الى اليسار على عكس المعتاد؟

تم تعديل بواسطة kash

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

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

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.