الانتقال إلى المحتوى

سؤال عن الصور !


LeBaNoN

Recommended Posts

الأمر سهل و بسيط جدا ...
تقوم بعمل ITEM حسب الحيز اللي تريده من نوع IMAGE ITEM
و من ثم تستخدم

	Read_Image_FiLE('IMAGE PATH','IMG TYPE','IMG NAME'); 


في ال

FWHEN NEW ORM INSTANCE 


انشاء الله الدنيا تشتغل

تم تعديل بواسطة khaled
رابط هذا التعليق
شارك

  • بعد 2 أسابيع...

To add Icons

You have to put the icons in the file
E:\oracle\dev9i\forms90\j2ee\forms90app\forms90web
Note the icon should be of gif extension.

To add Images

To put images into your forms you have to register your image's path. To do so do the following: Search for forms90_path in the registry
Open the file. In the value data put the path of the images after a semicolon";"
Note to open registry. From START>RUN write regedit
In the registry editor EDIT>FIND then write forms90_path.
Or HKEY_LOCAL_MACHINE == SOFTWARE === ORACLE == HOME1== FORMS90_PATH

C:\oracle\dev9i\forms90;the path of images
Ex. C:\oracle\dev9i\forms90;D:\images
Where the D:\images is the path of images
Another way is to put it in the default path which is
C:\oracle\dev9i\forms90


To add java beans

Open the file formsweb.cfg with word pad. Its location is c:\oracle\dev9i\forms90\server
In the word pad open EDIT>FIND
Write in find "archive_jini=f90all_jinit.jar "
Add to that string the java beans you want; like that
Archive_jini= 90all_jinit.jar, colorpicker.jar
To separate between two java bean use coma.

The above steps are about registering your java beans.
But we should put them in a folder, and that folder is in
Oracle\dev9i\forms90\java

Note keyfilter.jar is especial case where we create a folder called demos in that path:
C:\oracle\dev9i\forms90\java\oracle\forms
Don't forget that keyfilter.jar is copied to that path too
oracle\dev9i\forms90\java.
To make the java bean visible of colorpicker.jar:
Execute the procedure pr15_3.txt
Put it in the program units of the form you want to show in it
Make trigger (when_new_form_instance) at the form level. Write in it fbean.register_bean('control.color_picker',1,'oracle.forms.demos.beans.ColorPicker')
Where 'control .color_picker' is ' the name of the block. the name of the item' respectively . And 'oracle.forms.demos.beans.ColorPicker' is the bath written in the beans. Make sure that C and P in ColorPicker is capitalized
Make a button and write in it
Pickcolor('canvas');
Note the pickcolor('canvas') is a procedure pr15_3.txt

pr15_3.txt

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

  • بعد 3 سنة...

Alsalam alikom ,
To the member Kindghost
i've checked the code it's Great thank you but can we do something more generic cause at work i have to do same steps at every machine that got the application under 6i i don't want to use the registry
and is this part also applicable for E-bussiness applications ?
Thank you hope i get a reply

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

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

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

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

×   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

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

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

جاري التحميل
×
×
  • أضف...

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

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