Property of the canvas

Hi guyz,

How can I programmatically set the property of the canvas?

IM using oracle 6i

Concerning

Houda

Published by: houda Shareef on November 21, 2009 23:16

Hello

It depends on the height of your window. If its height is over (only 439), then increase the canvas only will suffice. However, if the height of your window is less, and you try to increase the height of the canvas to more, it wouldn't work.

So, in this case, its better to increase the height of the window but also at the height of the canvas.

Something like:

SET_WINDOW_PROPERTY('window2',HEIGHT,440);
SET_CANVAS_PROPERTY('canvas2',HEIGHT,439);

Tags: Oracle Development

Similar Questions

  • Resize the Canvas PSD and all property

    Hello

    I have a PSD file of a designer for a Web site. Unfortunately, they got the width of the completely wrong design (1408px - should be about 1200px). Is it possible to resize the canvas to 1200px width and resize all layers programmatically or goods of the same value. Basically I want the entire file to look the same just with slightly smaller fonts, assets etc of image.

    Thank you

    Mike

    Image > size of the Image in the menu bar.

  • The pitch outside the canvas layer

    How can I get the right dimensions of a layer partially outside the canvas? With the bounds property, the width and height are incorrect.

    var myLayer = getLayerSize();
    
    alert('width = ' + myLayer.width + '\nheight = ' + myLayer.height);
    
    function getLayerSize() {
        var lyr = {};
        var ref = new ActionReference();
        ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));
        try {
            var bounds = executeActionGet(ref).getObjectValue(stringIDToTypeID("boundsNoEffects"));
            lyr.height = bounds.getDouble(stringIDToTypeID("height"));
            lyr.width = bounds.getDouble(stringIDToTypeID("width"));
        } catch (o) {
            // fix old Ps (CS6 etc.)
            var bounds = executeActionGet(ref).getObjectValue(stringIDToTypeID("bounds"));
            lyr.height = bounds.getDouble(stringIDToTypeID("bottom")) - bounds.getDouble(stringIDToTypeID("top"));
            lyr.width = bounds.getDouble(stringIDToTypeID("right")) - bounds.getDouble(stringIDToTypeID("left"));
        }
        return lyr
    }
    
  • Property of the concerned disks is necessary.

    Hello

    During the process of re - configure my drive merger (with the invaluable assistance of Linc Davis in this thread), almost at the end, I walked into a situation where a command could not be completed, and which appeared to the error:

    "Property of the concerned disks is necessary."

    I am in recovery of the Internet and the HARD drive and SSD are not yet in place.

    How can I get my property via Terminal?

    Thank you very much.

    Why did you continue in the thread you suggested rather than start a new thread?

  • Property in the subsequence charger does not change MainSequence

    We have several tests digital limits in our MainSequence and we want to change the test with the shipper of the property limits.

    If the property Loader consists in the MainSequence (in the Setup program) or in the hand, then the limits change.

    If is a subsequence of the MainSequence property Loader, the limits to change.

    The test limits of numerical limits in other subsequences always change.

    Attached are two examples (Teststand 4.2):

    "PropertyLoader t - work.zip"-consists of the MainSequence property Loader.

    "PropertyLoader don't work.zip"-is a subsequence of the MainSequence property Loader.

    Is this a bug or is this expected behavior?

    Or is there a setting that would make "PropertyLoader don't work.zip" works correctly?


  • How to change the RTDestination property in the section model

    I used the .net api to create a definition of the target of pxi file, but 15550 error appeared when I deploy the DEF. After comparison with the product correct DEF VerStand, I found the property RTDestination in the model section is different, but I don't know how to change it. Any know?

    Hi Nico,

    This solution uses the same API .NET you; Therefore, you can recreate these calls in any environment that you use to programmatically create the definition of your system.

    To explain the image from left to right:

    -First block is known as the Builder of the model and by initializing it with the specified values.

    -Next block, is downcast the newly created model object in a BaseNodeType. This is done by calling in a property of the object model called BaseNodeType (IE. Model.BaseNodeType). it's simply the base type of the model. We have to do to access low level methods.

    -The two blocks are getting and setting of the element XML DLL Path in your system definition file.

  • 'DAC reference ground connection' property causes the other channel to stop working

    Can I set allow connect DAC refers to a property on the ground on one channel and not the other?

    I have a channel of analog output of a card PCI-6251 set so the DAC reference can be set on the ground.

    I understand that this will work only if the reference of the DAC is the internal value. Since it's the default I him did not.

    I write out, then adjust the level to the ground.

    I try to write to each other on the same card and it will not work. Sometimes he changes temporarily but goes back to 0 volt. Most of the time it just does not change.

    If I remove the aforementioned property and action off the coast of the first string, the other channel works very well.

    Can't use this independent property? Or is it possible to fix this?

    The DAC reference connect to the ownership of the land can not be set for each channel.  In the LV help for this property (right click on the property in the property node and go to help for AO. DAC. Ref.ConnToGnd to go to the specific help page) it says:

    Grounding the internal DAC reference has the effect of grounding of all channels of analog output and stop the generation of waveform on all channels of analog output independently know if channels belong to the task at hand.

    If you can't limit what output channels will be grounded, it will be on the ground all channels that have the reference set inside.  If you try to change the property ' link DAC refers to the ground "to False for some channels and true for other channels, you will get the error 200106: property must have the same value for all channels on the device.

    A solution for this is instead set the DAC reference to the ground, put the source on the outside, and use APFI 0.  What you could do is outwardly wire GND AO for the APFI 0 (pin 20).  Then set the DAC reference outside.  The problem is that unlike the DAC reference connect to the ownership of land, which can be changed during execution of the task, the source of reference property is not editable during execution of the task.

  • property of the mouse to the image control

    In LV 8.5 I noticed that if you reset your image to the default control (using the menu drop-down), the position property of the mouse no longer works, it will always return 0.0 no matter where the mouse is in control.  You must destroy and recreate your image control to fix right here.

    Perhaps this problem has been fixed in later versions of LV but I didn't know any documentation of the present.

    Good afternoon Garvacious,.

    When you say that the pop-up menu, I guess you want to tell the menu that is displayed if you right-click on the control.

    I just tried this in LabVIEW 8.6.1.  My position of mouse cursor reads 0.0 when the mouse is over the control and -1, -1 when the mouse is not over the control.  It is a bug.  I have filed the appropriate internal documentation (Corrective Action Request #167102), while R & D is aware of the issue.

    Thanks for letting us know about this behavior.  I'm sorry for any inconveniencce this bug you has done.

  • Failed to set the specified property while the session is running - 6552

    I created a program to run several different scripts.  The first time through my program works perfectly.  The second time through (without reset of the card, or re - download vectors etc.) but it fails.

    As he tried to run the following command:

    niHSDIO_ConfigureDataVoltageCustomLevels (DIO3_acq_session, 11-13, 18, 19', 1.8, 2.0)

    I have the following error:

    "Specified property cannot set while the session is running.
    Set the property before the opening of the session, or abandon the session before setting the property. »

    Any suggestions on what could happen?  Alternatively, any advice for troubleshooting techniques to learn more about the problem?

    I found my error:

    Several of my scripts include a list of markers so that the records are captured, and I download the recordings captured later.  Whenever I'm about to run a script that has files, I made the "niHSDIO_ConfigureAcquisitionSize" function in order to identify the size and quantity of records.

    However, the first script in my program that I run I don't need records captured, so I didn't bother to call the function "niHSDIO_ConfigureAcquisitionSize".

    So, first map like the default setting for the number of records for the first script (in which I do not bother with all the captured records), but then the subsequent pass in my stream of test cards do not like the fact that I have had set up for many more records that he caught (lack of markers / triggers).

    It's a little confusing to explain, but I found the problem, so any help is needed.

  • What does the option, 2nd right, down the canvas of fresh paint do?

    I do not know how to make it any easier than this.  The first option (circle) reverses the last traces of paint, the next option (circle) put the paint back stroke and the 4th (circle) is to dry the paint on the canvas so your next color will not mix.  I don't know what option 3 (circle) is for.  I tried several times to see what will happen without any result.  A Yes, I know I'll feel stupid when I find, however, someone please tell me.

    I do not know how to make it any easier than this.  The first option (circle) reverses the last traces of paint, the next option (circle) put the paint back stroke and the 4th (circle) is to dry the paint on the canvas so your next color will not mix.  I don't know what option 3 (circle) is for.  I tried several times to see what will happen without any result.  A Yes, I know I'll feel stupid when I find, however, someone please tell me.

    ==========================================
    The following tutorial might be worth a visit:

    Fresh paint allows you to create masterpieces in Windows 8
    http://www.technorms.com/18136/fresh-paint-lets-create-masterpieces-Windows-8

    The following of the tutorial seems to address
    your question:

    ===

    "The bottom of the page also has a small set of menu items.
    From left to right, there is a button undo and redo. Unfortunately
    almost universal Ctrl + Z Undo does not in
    This app so it will be your best friend when painting, as
    We all make mistakes. The middle button is to hide the lines
    image and perform more than one painting of freestyle. Next is a
    fit to window button, so you can quickly zoom out and see the
    image as a whole. Finally, there is a dry button that deploys
    the paint. In this way, you're not autour galling when you
    don't want to - as a tool that you will learn to use a lot. »

    ===

    Also the following FAQ may be useful:

    Fresh paint FAQ
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-Winapps/fresh-paint-FAQ/552a7366-fbd2-4b19-a4b8-4021453a4835

  • Fresh paint - can not paint, don't move the canvas. FRUSTRATING!

    Hello

    This has happened for a while now. I used to be able to open the fresh paint and draw as usual, but now every time I use the touch screen to draw or use the left button of the mouse, he simply dragged the canvas autour instead of fixing the paint. I have try all kinds of combinations, change the brushes, etc, but nothing works. Any suggestions? I restarted the app and restarting the computer and uninstall/reinstall the application.

    Help!

    Jonathan

    Hi Jonathan,.

    Thanks for posting your question in the Microsoft Community forums.

    I'm sorry to know that you are facing problems with fresh paint and I understand how frustrating it can be. Let me try and help you with the issue that you are facing.

    1. did you run the troubleshooter Apps?
    2. do you have an another user account on this PC? If so, have you tested the issue on the other user account?

    Try to run the utility of troubleshooting Apps. This tool can automatically identify and fix problems with the applications. If the problem persists, see the other steps mentioned in this article.

    A problem of an application:
    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    If you do not have a different user account, kindly, create and verify the result.

    http://Windows.Microsoft.com/en-us/Windows/create-user-account#create-user-account=Windows-8

    Let us know if it helps. If the problem persists, we will be happy to help you further.

  • When you add a Segment to the canvas of the campaign, you would add members every hour until the campaign turned in what scenario?

    Hello

    When you add a Segment to the canvas of the campaign, you would add members every hour until the campaign turned in what scenario?

    Thank you

    Hello...

    The segment will have new members added periodically, and you want that they are added to the campaign as soon as it happens

    Thank you

    edynamic expert Eloqua

  • Change a property of the attributes (VO) doctors use?

    Hello

    I use JDeveloper 11.1.2.4

    We use MDS in our application of user-level customization.

    We have an af:query and its corresponding table in our page. Based on responsibility, the columns of the table are visible/hidden.

    This part works very well the doctors use. However, there is a requirement more. The attributes to add to the option of advanced search for FY: query must also be based on responsibility.

    Now if an attribute will be displayed in the advanced search of af: query depends on the searchable property of the attribute to display.

    We use the following tag in the xml customization file in the model layer:

    < mds: change

    element = "(xmlns (mds_ns1 =http://xmlns.oracle.com/bc4j)) [/ mds_ns1:ViewObject[@Name='SearchView']/mds_ns1:ViewAttribute[@Name='LocationId'] " ">

    < mds:attribute

    name = "IsQueriable".

    value = "true" / >

    < / mds: change >

    Note: The two model and VC use the same customization file (configured in the ADF - config.xml.) The searchable property for all attributes by default is false.


    The question we face is that if I have 2 users A and B with different responsibilities. If a connection first, then whatever the attributes to display for one will be shown in B and vice versa (connections B if first, then both A and B will see the same attributes, i.e. user B). MDS selects the layer that is correct for the first user of the connection once the application has been corrected. However, after which never has connections, see the same attributes as the first connection.


    What Miss me?

    Thank you



    See http://docs.oracle.com/cd/E16764_01/web.1111/b31974/customize.htm#BABEGABC

    34.1.2 content static and dynamic personalization

    Customizations can be classified as static or dynamic. Static customizations have value to a single layer in force for all executions of the application, while dynamic customizations can have values that vary based on the execution of the application context. If a customization can vary for different users running the application, it is dynamic. If a customization has the same value for all users running the application it is static.

    When you implement customizations in ADF Model objects and ADF business components, customizations remain the same for any performance of the application. This is because these objects are loaded only once for an application and reused for the duration of the application. For example, you have a validation rule custom value of Healthcare company #1 site layer that limits the salaries for this site at 3300. It comes to static content for personalization.

    However, you can also implement customizations to the level of the controller or view allowing the value of the layer to determine at run time, based on user roles (responsibilities) or other application-specific criteria. For example, you can design an application that allows users of different organizations see different sets of fields on a given screen. It comes to dynamic content personalization.

    The determination of the question whether a customization is static or dynamic takes place in the class of customization. In the class of customization, if the getCacheHint() method returns ALL_USERS , then the layer of customization is static. For more information on CacheHint , see Section 34.2.2., "what you need to know about customizing Classes."

    All objects may have a static customization layer, depending on how personalization classes are implemented. But for ADF model and components items trade, customizations cannot be static.

  • The canvas rotation and screen recording

    Off I want to say thank you; I am eternally grateful for raffle of Adobe and its increase my workflow and output ten times. I was curious to know if there are plans to integrate a complete rotation of the canvas and most importantly for me, all plans for ability to record/timelapse screen app to directly share on social media?

    Thank you!

    Mike

    @grimdrops

    Hi Mike,.

    Recently, we receive an increasing number of requests to activate the finger of the canvas rotation, but I don't know if this is a feature that is being considered (want to just make sure that you know about the canvas rotation 90 ° behind the gear icon in the top nav to an open canvas).

    I don't know, however, that there are serious discussions on adding features for registration for applications of design... but I'm not sure of the timeline for incorporation in the drawing (or Sketch).

    I know it's not a lot of information for you, but I will certainly share your applications with the product teams.

    Hope that helps a little. (I'm glad that draw is very useful for you).

    Sue.

  • Could not find iterator of property in the oracle.adfmf.bindings.dbf.AmxCollectionModel class

    I created a RestServiceDescription to a rest Service and "Artifact generation" to create Java objects. With the generated Service, I've created a data control.

    The rest service returns an Array of JSON object. So I tried to create a list view of the DataControl. Now, the error I get is: property in the oracle.adfmf.bindings.dbf.AmxCollectionModel class iterator is not found


    I don't know what is happening. Can someone help me?

    I found the problem: The REST services had been set up to use localhost, which is not available in the Android emulator. Changing the address to 10.0.2.2 solved this problem.

Maybe you are looking for

  • Photos of opening not icloud

    Hello So I opened icloud awhile back there, but not really use it. Then a week or if there is, I connected and open the pictures and this page came up saying that it has been put in place and that, regardless of me being there or not it would work. I

  • Software CyberLink YouCam to a 32 bit OS HP Mini 210-4000

    Nice day! I'm looking for a Cyberlink YouCam software for my 32 Bit OS HP Mini laptop 210-4000. I tried several times to have in the internet, but all I have is for testing only. Can you provide me with recorded a? Thank you and more power! Software

  • Stop the route announced on

    Hi all I have a x 6880 and EIGRP running with our WAN service provider. I have the following: -. Router eigrp 200Network 10.44.70.1 0.0.0.0redistribute the static-Static_To_Eigrp route mapneighbor 10.44.70.4 Vlan970neighbor 10.44.70.3 Vlan970EIGRP re

  • How to replace the 'full' Menu Option and "close".

    Hi all I need to know how to replace the full menu option and the narrow, while I don't have a menu option in my class of the screen, and also I do not call superclass «super(DEFAULT_MENU |)» defult builders DEFAULT_CLOSE); » can someone give me some

  • Reg. IPS Upgradation

    Hello I need to upgrade the Version 5.1 of the IPS (with the details below) 6.0 IPS. (a) Cisco Intrusion Prevention System, Version 5,0000 E1 (b) definition of signature: Update of signature S288.0 Update antivirus V1.2 (c) OS version: 2.4.26 - IDS-s