SET_CANVAS_PROPERTY

HI, I'm working in forms6i and I need to set the canvas property so that its visible or at least change the X,Y coordinates on the content canvas so I can see it....then with a button click make the new stacked canvas visible....if anyone can help me with this code..I'm new to forms....and on a big learning curve....the error I had when i put the trigger in the push button is that I had to declare the form.
thx,
Mark

THANKS SUDHA!!
That helps ....how would I arrange it if I wanted to click it and its already visible and I wanted to pull up an additional canvas? like this??
BEGIN
IF SET_VIEW_PROPERTY('CANVAS4', VISIBLE, PROPERTY_TRUE)
THEN SET_VIEW_PROPERTY('CANVAS4', VISIBLE, PROPERTY_FALSE);
END IF;
END;
well i get an error with this =) but wondering if you could help me out
null

Similar Messages

  • Why FONT  Parameters at SET_CANVAS_PROPERTY Built-in doesn't work with me ?

    after I had a look for the SET_CANVAS_PROPERTY Built-in References :-
    http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builts/setcspro.html?tp=true
    I made a Push button at content canvas and within this code on it , which doesn't make any change to any text at the canvas :-
    SET_CANVAS_PROPERTY('FONT_CANVAS',FONT_NAME,'Comic Sans MS');
    NOR
    SET_CANVAS_PROPERTY('FONT_CANVAS',FONT_SIZE,40);
    ALL of them :-
    FONT_NAME , FONT_SIZE , FONT_SPACING , FONT_STYLE , FONT_WEIGHT
    not working with me .......... I just wondering .... why ?!
    I'm using DB 10gR2 , Developer Forms 32 Bit Version 10.1.2.0.2 (Production)
    and Windows XP SP2 64-bit

    The FONT-attributes for a canvas are for the "Tab-Titles" when using Tab-Canvases. They have nothing to do with boilerplate-texte placed on the canvas.

  • Set_canvas_property's different behaviour in 9i

    Hi folks,
    My problem is that the code under works fine in 6i but does not in 9i (10g)
    set_canvas_property(canvas_id,VISUAL_ATTRIBUTE,name_in('global.qcolor'));
    (It's intended to change the background color of the canvas).
    I tried to use BACKGROUND_COLOR instead of VISUAL_ATTRIBUTE either color names like blue,white and rgb codes without any result.
    I have about 400 forms modules have this line so I don't want to declare a visual_attribute for this (which works fine in both version) and apply all of the modules if possible.
    thanks., Sandor

    Hi,
    We use a general canvas background color thru the whole application. There is a pre-form trigger which contains that set_canvas_property line. (The default colors of the canvas are set which differ from the color I want to apply by that set_canvas_property command.)
    thank.,Sandor

  • 11i Java Color Scheme set_canvas_property question

    Hi,
    I've modified the custom.pll to change a canvas color to red based on some data criteria using the set_canvas_property command. I want to set it canvas back to the original color when they create a new record. My question is how can I programmatically figure out what the default color format is to change it back?
    It seems that I should use fnd_profile.value but I'm not clear how I can use this. The system profile for Java Color Scheme is blank for site, application, responsibility, and user.
    Thanks in advance,
    Lisa

    Please disregard this message. It's posted in the wrong forum and I do not know how to delete it from here.

  • Change the colour of Canvas graphics on runtime

    Hi,
    can someone tell me hoe to change the colour of canvas graphics like rectangle on runtime, like set_item_property is not working for these items
    Thanks

    try this
    set_canvas_property('canvas2',background_color,'r110g50b22');
    Pradhyumn

  • Saving forms data in a text file

    hi guys,
    is it possible to save current forms data in a file just before commiting it into database and flushing out??????
    2ndly is it possible to take out the print of current form without printing its background(canvas or background pics etc) coz its very time consuming & expensive if u simply take out the print of a form while using a Dot-Matrix Printer.

    You can change the background color of the canvas to white before you print:
    Set_canvas_property('CANVAS0',background_color,'r255g255b255');

  • How can i change the direction of tab canvas in 10g ?

    hi all
    how can i change the direction of tab canvas in 10g at runtime i want to change the direction from left_to_right to right_to_left when i did that the form not appears well
    all prompts of item not dispalyed in order of its sequence ,in spite of that it works in 6i well and change direction without any problems
    i have been used set_canvas_property and set_view_property but it doesn't work
    can anybody help me in this mater?

    please can any body help?

  • Help using app_standard.event(when-tab-page-changed')

    Hello ,
    I need to create a form with the following requirements . There is one content canvas which contains a tabbed canvas and on this there are two stacked canvases .
    The problem is that when I compile my form and ftp to oebs , I cannot view the tab pages on the canvas .
    I see only my the fields displayed in the first tab page without the 'tab pages'.
    How do I solve this issue please ?
    My when-page-page-trigger contains the following :
    BEGIN
         APP_STANDARD.EVENT('WHEN-TAB-PAGE-CHANGED');
    if name_in('system.cursor_block') = 'XX_ERROR_MANAGEMENT' then
    if not form_success then
    -- Revert tab to prior value and exit
    set_canvas_property('CAN_INT',topmost_tab_page,name_in('system.tab_previous_page'));
    return;
    end if;
    -- Move to first item on each tab
    if target_canvas_name = 'CAN_INT' then
         SHOW_VIEW('CAN_ONG1');
    go_item('XX_ERROR_MANAGEMENT.INTERFACE_TYPE');
    else
    show_view(target_canvas_name);
    end if;
    END IF;
    END;
    Any help will be much appreciated . Thanks .

    bump

  • Change Background_Color with set_*_property doesn´t work with NLS_LANG UTF8

    Hi @all,
    we changed our forms from we8iso8859p1 to utf8 and now we noticed that changing of background colors from canvases, items etc don´t work anymore.
    I tried set_canvas_property, set_va_property, set_item_property.
    When I start the form with NLS_LANG: GERMAN_GERMANY.WE8ISO8859P1 changing the colors works.
    When I start the form with NLS_LANG: GERMAN_GERMANY.UTF8 changing the color don´t work.
    We use Forms Version 6.0.8.11.3.
    Are there any workarounds to change the colors when nls is set to utf8?
    Thanks
    Thomas

    Hi,
    I discovered following:
    - if name of OU in AD is without space (e.g. test,sample) so DN record is test\,sample and user is moved into this OU.
    - if name of OU in AD is with space (e.g. test, sample) so DN record is still test\,sample and user isn't moved.
    So problem is with empty space. How can I preserve space in DN name? I found something in documentation but I doesn't work for me.
    +Special Characters in FieldValues
    If you have a field value with a comma (,) or double quote (") character, or you want to preserve leading or trailing spaces, you must embed your field value within a pair of double quotes ("field_value"). You then need to replace double quotes in the field value with two double quote (") characters. For example, "John ""Johnny"" Smith" results in a field value of John "Johnny" Smith. +
    (from IDM Business Administrator's Guide, p.77)
    Guided this information I put value of slctOrganizationalUnitUzivatele into "". But this didn't work. Is good idea to have space in DN?
    Thanks for help.
    Petr
    Edited by: petrklinkovsky on Sep 10, 2009 5:06 AM

  • About Visual Attributes

    1.can we create visual attributes dynamically like record groups.
    2.In forms there is any bulit in which gives the RGB format of particular color,i want to change background color at runtime.
    set_canvas_property(:system.mouse_canvas,BACKGROUND_COLOR,'darkred');
    how i can change the background color of canvas at runtime.
    thank's in advance

    Though you can not create the va at runtime, if you know the possible combinations or may be 10 visual attributes, u can create in the form and set it dynamically at run time. (set_item_property )
    Having said that you can not have any Visual attribute for a canvas. You can have only property class. VA is for text items... PC can not be set at run time.
    Best Regards
    Rajesh Alex

  • Canvas background via Java

    Is there a way to set the background color of a canvas via Java. I am using FocusLost and FocusGained to change the background color of textfields to be able to better show where the cursor is on a form. I have a couple of forms that have multiple canvases showing at the same time and the user wants the canvas color to change when the cursor is in a field on that canvas.
    Is there a focus event associated with a canvas? Is there a way to control the canvas color via Java?

    Hi Dave,
    Is there a reason you don't use SET_CANVAS_PROPERTY(BACKGROUND_COLOR, ...)?
    In Java on the client, the canvas is not one of the objects we expose. However you can do what you want in Java and using some getParents() to get to the canvas, and then do a setBackground() on that. But note that this isn't supported, and the hierarchy could change at any time...
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Can we manipulate the Show Horizontal Scroll Bar property during runtime?

    Hi
    i have set the Show Horizontal Scroll bar to true in the property palette during design time but i want to set to false during run-time based on certain conditions.
    it is possible to set the Show Horizontal Scroll Bar property of the forms window to true or false during runtime?
    if yes, how do you do it?
    any help is appreciated. thx.
    Siti

    Hi there
    thank you for the reply.
    so is resizing of canvas using set_canvas_property('CANVAS6',WIDTH,690)
    possible during run-time based on certain conditions? thx.
    Siti

  • Defaule Canvas background color - Forms 6i

    How do i set the default forms canvas color. I changed the canvas background color to blue. i want my original color back. The property of foreground color is <Unspecified>. I need the same for background.

    r u doin this on Runtime ? i thought u r talking abt design time....coz sometimes builder stuck with color of canvas
    if yes then set_canvas_property('canvasname',background_color,'colorname');
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]
    Edited by: Baig on Jan 28, 2010 2:29 PM

  • How to change Content canvas size during run time?

    Hi All,
    I am using oracle 10g web forms and opening in Separate Frame. When I re-size the MID window, I want to change Content canvas size to window size. Is it possible to change content canvas size at run time? Even after using following statement it is not working.
    set_canvas_property('content_can', WIDTH, 200 );
    set_canvas_property('content_can', HEIGHT, 100 );
    Please help me.
    Regrads

    Francois,
    Yes, I have used messages, when get the current values (after setting new values) it shows right one but on the screen it is not accurate because
    it is going beyond the window size and it adding scroll bars. I am using window W&H minus some numbers. When I look at the help it says size in characters. How to set the Content canvas size in characters?
    Is it possible to change the Content Canvas size in Run time? Please help me.
    Regards.

  • Regarding Creating Horizontally moving tabbed canvas at runtime

    Hi..
    Is it possible to create a Horizontal dynamically
    moving Tabbed Canvas.
    I want to move the particular tab page of the tabbed
    canvas horizonatlly during runtime by placing a
    horizontal scroll bar.
    Could anyone tell me how it in can be done with steps?
    Plz reply me asap it is urgent.
    Thanks & Regards,
    Venkatesan.S

    Mmm
    Let's see.. there are two tips:
    - 1st: modify canvas length dinamically
    - 2nd: put the scroll bar to the block into the canvas
    Solutions:
    - 1st: Use the set_canvas_property built-in (with WITDH parameter)
    - 2nd: There are no problems to put an hoprizontal scrollbar associated to the block you're viewing into the page of your tabbed canvas
    (To manage the scroll bar.. Have a look at set_block_property built-in)
    Regards,
    Jose L.

Maybe you are looking for

  • How to open a specific excel file by activex & overwrite by set_cell_value.vi

    I've seen the 'Write Table and Chart to XL.llb', but how can i open an existing excel file/workbook/sheet and rewrite some of the data instead of open a new worksheet everytime? It may already shown in your examples somewhere, but since I'm new to ac

  • Help required : On dependent LOV

    Hi All, I am facing an issue in one of my custom Search page. The search page is having the 2 LOV items (Branch Code and Branch Name) as search criteria. These 2 LOV's are dependent each other in declarative approach. And we have the 'Select a valid

  • Oracle 8i Enterprise Edition Release2(8.1.6) On Windows Millennium

    Hi! Can Oracle 8i Enterprise Edition Release2(8.1.6) for Windows/NT/2000 be installed on Windows Millennium. If anyone has been able to successfully install it please help me. Thanks null

  • "Short Text" on Batch Master

    Hello Experts, I wanted to see in which table the "Short Text" field on Basic Data2 view of MSC3N is getting stored (I need to display this text on a program output list when batch and material is known). But it is using a structure field. Can I use

  • Can't connect to .Mac, lost all Contacts, Calendar info

    Hi all. I have a recent iPod touch. It's set up to synchronize (Mail, Contacts, iCal, Applications) wirelessly with MobileMe, NOT via iTunes. Everything was working fine. This afternoon, I loaded 5 pictures and also used the Maps application. Now, ba