Check the pixel size on runtime

Hi all
can any one tell me is there is any trigger which check the pixel size of user screen???i am using oracle 9iIDS and run on LAN....the problem is that i have create the form on pixel size 1024x768....now some user on LAN has pixel size 800x600...so the problem is that the forms doesn't look better on that pixel....i want that when form run it check the pixel size....if it is 1024x768 then ok if it is 800x600 then it prompt a message that u change ur pixel size to 1024x768.....
Is it possible to do????
plz reply
thanks in advance
shayan
[email protected]

now i am using this code
declare
al_button alert := find_alert('pixel');
al_id number(5);
width number(5) := get_application_property(display_width);
height number(5) := get_application_property(display_height);
LC$Scoord VARCHAR2(100) := Get_Form_Property( Name_in('system.current_form'), COORDINATE_SYSTEM ) ;
begin
-- Conversion of offset in pixel --
If LC$Scoord = 'INCHES' Then
width := width * 0.0104 ;
height := height * 0.0104 ;
ElsIf LC$Scoord = 'POINTS' Then
width := width * 1.333 ;
height := height * 1.333 ;
ElsIf LC$Scoord = 'CENTIMETERS' Then
width := width * 0.0263 ;
height := height * 0.0263 ;
End if ;
if width = 600 or height = 800 then al_id := show_alert(al_button);
end if;
end;
that code compile successfully but not give the alert if pixel is 800x600

Similar Messages

  • Illustrator and Photoshop's stroke appearing larger then the pixel size I put.

    My strokes in Illustrator and Photoshop CS6 are showing up larger then the pixel size that I put in.  I checked my settings and nothing looks out of the norm.  What could be causing this problem?

  • How do I find the pixel size of a photo?

    I have taken a photo or found one online.
    It's now on my ipad.
    How do I tell the pixel resoution of the photo via the ipad?
    I have two of the same photos on my device at the moment and want to delete one.  They may both be 2048/2048, but without emailing them or putting them in Dropbox, and viewing on my laptop, I don't see how to tell.

    Get the Actual Pixels App from the App Store. It's free and will tell you the pixel size of any photo you open.
    https://itunes.apple.com/ca/app/actual-pixels/id608679577?mt=8

  • How to check the file size before loading it to the context

    Hello,
    I have an application to upload a file and write it to the server using the FileUpload UI and IWDResource Interface.
    I would like to limit the size of the file the user is uploading to, say, 2MB.
    The problem is that the current API doesn't allow me to check the file size before I store it in IWDResource. The API available for IWDResource:
    IWDResource resource = ...
    InputStream stream = resource.read(false);
    size = stream.available();
    Is working on the file only AFTER storing it in the context and the server's memory. This way, if a user decides to upload 1GB file for example, he can easily crash the server.
    I am already familiar with <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71">this</a> arcticle but it doesn't answer this question as well, all it does is calculating the file size only after storing it in the context.
    Any ideas...?
    Roy

    Hi Ram,
    Have you activated your Objects ?
    You need to activate your objects in order to see them in RWB.
    Thanks & Regards,
    Varun Joshi

  • How do I get the pixel size at 100% on Photoshop CS6 to match the pixel size that will appear on web

    I have a 500px x 500px document open but the size that it looks on Photoshop at 100% does not match the size that is 500px on the web. How do I change it on Photoshop CS6 so that it will give me an accurate display of the pixel size?
    (I don't know if this needs to be mentioned but I am working on the new macbook pro and just downloaded the new photoshop update for retina displays).
    Thank you in advance!!!

    Ask in teh PS forum. Generally, though, pixels are pixels. Perhaps you simply have things backwards - as far as I know by default Safari doubles image sizes on Retina devices, which can lead to such discrepancies. There's an option for that in the prefs.
    Mylenium

  • How do I change the pixel size of my photos?

    Hello,
    Please give me step by step instructions on how to change the pixel size of my photos from the time I log in.
    Thank you.

    There are basically two ways.
    Image>Image Size... This will adjust the quality of the image, allowing you to adjust the pixel dimensions and keep the full image.
    In the tool bar on left side of screen 5th icon down looks like a sliding picture frame. That is the crop tool, that will adjust the pixel size of a document by removing a portion of the image, allowing you to get rid of portions of the image you do not want.
    There are some other ways to accomplish the above, but these are the basics that everyone needs to know. I recommend playing with these tools on a copy of an image, that way you won't be afraid of destroying an image.

  • Check the total sizes of total attachments not allow more than 9 mb when adding attachments to a PDF

    My clients requested the form has the validation when I add attachments to a PDF, the total sizes of these  attachments not more than 9 Mb. I can just check the size of each attachment but I cannot check the total sizes of the attachment.  I am not sure what I am doing wrong the coding is unsuccessful.  Please help!!!! 
    Thank you very much.
    CindyWhat
    Here is the coding in event:click - attachment button
    var maxSize=75497472; //bits
    try{
    var count= 0;
    var oDoc = event.target;
    var oAttachment = oDoc.dataObjects;
    if(oAttachment != null){
      count = oAttachment.length;
    oDoc.importDataObject("attachment" + (count + 1))
    var dataObj = oDoc.getDataObject("attachment" + (count + 1));
    var fileName = dataObj.path;
    var fileType = fileName.substring(fileName.lastIndexOf("."));
      if(fileType != ".pdf" && fileType != ".PDF" && fileType != ".JPG" &&
      fileType != ".jpg" && fileType != ".tif" && fileType != ".TIF"&&
      fileType != ".tiff" && fileType != ".TIFF" &&
      fileType != ".doc" && fileType != ".DOC"){
                    xfa.host.messageBox("Please correct the file type.");
                    oDoc.removeDataObject("attachment" + (count + 1));
    // combine size
      //get content
      var oFile = oDoc.getDataObjectContents("attachment" + (count + 1), true);
                            var oBase64Stream = SOAP.streamEncode(oFile, "base64");
                          var oFile = SOAP.stringFromStream(oBase64Stream);
                            // check the length of the document
                            var lenTotal = oFile.length;
                            FileSize.rawValue = lenTotal;
      if (lenTotal > maxSize)
       xfa.host.messageBox("the total size is 9 MB");
       oDoc.removeDataObject("attachment" + (count + 1));
      }// end if
      else
       xfa.host.messageBox("successfull attachment","Attachment",2);
    catch (e)
    xfa.host.messageBox("Please review the document");

    We are using Microsoft SQL Server 2008 . but it's well with MySQL & JBoss

  • Is there a way to reduce the pixel size of multiple photos in a slideshow?

    I have a Windows 7 computer and use Photoshop Elements 9 and Premiere Elements 9.  I recently completed a slideshow that contains about 360 photos, many or all of which exceed the maximum size of 1000 x 750 pixels.  Is there any way that I can easily reduce the pixel size of each of the photos?  If upgrading to the most recent versions of Photoshop Elements and Premiere Elements would help me accomplish this I would be willing to do this.  Thanks very much in advance for any advice or suggestions.

    You can batch process your images to re-size them in the editor using the menu:
    File >> Process Multiple Files
    Place your chosen photos in a separate folder and then choose a separate destination folder; so as not to overwrite the originals.

  • In InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to

    This may be a basic question... but in InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to determine what word count we can fit in, and c) how to do it in a table? Thanks!

    Set your ruler increments to pixels Preferences>Units & Increments. You can fill the text box with placeholder text Type>Fill with Placeholder text and get a word count from the Info panel with Show Options turned on from the flyout.
    From the Transform panel you can set a text box's width and height

  • How do I change the pixel size when converting Word doc to .pdf?

    When converting a Word Document to .pdf the file size is too large. How do I reduce the pixel size?

    Typically a Word file's content is text which has not image association.
    For whatever images might be in the Word file you'd want to adjust image resolution in an image editor prior to bringing the image into the Word file from which the PDF is made.
    Be well...

  • Does the pixel size affect printing in iphoto?

    Have trouble printing in iphoto.  I can view the photo in iphoto fine.  When I print, I am just getting a small corner of the picture.  Can the pixel size affect printing?

    Set your ruler increments to pixels Preferences>Units & Increments. You can fill the text box with placeholder text Type>Fill with Placeholder text and get a word count from the Info panel with Show Options turned on from the flyout.
    From the Transform panel you can set a text box's width and height

  • Increasing the Frame size at runtime

    hi
    Iam using a JFrame and i have two JPanel on it.Iam getting the input from the user through the controls which is placed on the panel.I have two buttons namely "Calculate" and "Clear" on the Frame.When the user presses the "Calculate" button Iam doing some calculations based on the input given by the user and i want to display the output of the calculations on the bottom of the Frame by increasing the Frame size at runtime.How can i do it?.Suggest me also about the Layout to be used.
    thanks

    In the frame i want the controls to appear as
    Panel1
    Panel2
    Button1 Button2 Button3
    When i use BorderLayout for the Frame it appears as
    Panel1
    Button1 Panel2 Button2
    Button3
    Note:Iam using NetBeans IDE for developing the GUI.I do not know which property of
    the controls to be changed so as to place the controls in NORTH,SOUTH etc
    can u suggest me some other Layout so that my Frame will appear as mentioned above.I looked into the Layout Manager but iam not getting much ideas in this regard.Please help me...

  • Check the database size

    HI,
    Kindly let me know if there is any maxl comamnd available for to check the cube size and application size for all appilication in one server.
    Thanks,
    VIkram

    Hi,
    Visit this link to display some storage-related metrics. Refer to [Disk Volume|http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispdvol.htm] & tablespace in particular.
    - Natesh

  • I-phone 5 - can you reduce the megapixel size of pictures without incurring data charges?  I understand if I e-mail my pictures to myself, there is an option to define the pixel size of the pict. What if I upload from phone to computer via cable?

    i-phone 5 - can you reduce the megapixel size of pictures without incurring data charges?  I understand if I e-mail my pictures to myself, there is an option available that allows me to define the pixel size of the picture I send, but I believe this process inccurs data charges.
    What if I upload photos from my phone to my computer via cable? I don't believe this inccurs data charges, but I cannot find an option to reduce the megapixel size of the pictures.

    i-phone 5 - can you reduce the megapixel size of pictures without incurring data charges?  I understand if I e-mail my pictures to myself, there is an option available that allows me to define the pixel size of the picture I send, but I believe this process inccurs data charges.
    What if I upload photos from my phone to my computer via cable? I don't believe this inccurs data charges, but I cannot find an option to reduce the megapixel size of the pictures.

  • Why does the Pixel size of a jpeg change on a different computer?

    I have a Mac OS X version 10.8.2 and Adobe Illustrator CS6.
    When i save a file "for web" as a jpeg with a specific pixel size (320x50 for example) and then send it by email to someone, when they open it the dimensions somehow change.
    Even though on my mac when i "get info" from the jpeg the dimensions are correct...
    Please how can i stop this from happening?
    Thanks!

    DId you check clip to artboard when yo made the jpeg, did your image size shwo the correct dimensions.
    If you are checking the file on your end and it is correct, then we need to know more about what is going on at the recipeient's end and how they are determining the size is wrong.

Maybe you are looking for

  • Error in web client connection to a web servcie

    hi all, i have a web service running on https on oc4j.... i have create a proxy client . when i run the test class, i have the foloowing error calling https://190.0.0.147:1024/CCOLWS-CCOLWebService-context-root/PWSSoapHttpPort WARNING: Unable to conn

  • How to determine the geometric bounds of characters in ID CS3

    I am working on a script that needs to know the positions/bounds of the text hyperlinks on a page. Although you can get bounds for page items such as text frames it doesn't seem possible to get the bounds of characters, ranges of characters or even h

  • FB60 tag with FB65, and other FI document, like advanced payment

    Hi Experts, I have the following FI document (pure FI transaction, not from MM/SD module) at my current SAP system: 1) Advanced payment, in which user here, does not want to use special purpose GL, and we only recommended them to create KZ document,

  • Mac software for accounting

    Can anyone recommend an accountancy software package for mac. I'm a one-man-band limited company in video production. I want to do as much as possible myself and avoid big accountants fees. Apologies, but not sure where else to post this? Any better

  • Ipod Options For Video are Shaded out.

    I Just upgraded to USB 2.0 and still my video options are shaded out. i do get video podcast to play but the options is shaded out. help