Canvas with Form

hi pals,
I have some doubts with my application development. Till now i am developing application with Canvas, and i know we can able to use form as well as canvas within single midlet am i right?
But i want to use Canvas as background for Form(ie. the Form should display on canvas) is it possible?
And one more question can we add color for buttons used in form?
waiting For reply..
Thank you,

Thank you,
Iam trying to use j2me ploish, for that i had download j2mepolish-1[1].3-beta3.jar file, but i dont know how to use it with netbeans5.0 IDE.
(by exploring tutorials we have to change the build .xml file ) but it is not clear to me.
Can you help me how to use j2mepolish with netbeans or any other way.

Similar Messages

  • Show stacked canvas when form is opened

    Hi,
    I'm working with forms 6i. My form has one multi-record block. Due to the amount of fields that need to be shown we split the block across 2 canvases, the first fields are shown in the primary canvas and next to it is something like an overflow, a stacked scrollable canvas.
    The form is opened in query mode. In the beginning we only see the items on the primary canvas. Only after the user has executed his query and navigates (with tab) to the first item on the stacked canvas this one is shown. From that moment on the stacked canvas stays visible.
    I want to change this behavior as such that the stacked canvas is visible all the time.
    I tried to solve this using show_view in the when-new-form-instance trigger but the result is not what it should be. The view is shown but not in the same way as you would see it when you properly navigate to it. The alignment is totally out of control.
    Any ideas, suggestions, are mostly appreciated.
    Kris

    Steve,
    To maybe make things a bit more strange then they're already.
      GO_ITEM('DEELNEMERS.DROOMPLOEG'); -- Item in stacked canvas
      SYNCHRONIZE;
      PAUSE;
      GO_ITEM('DEELNEMERS.CODE'); -- First item (on primary canvas)It works with above code but not without the pause.
    I'm really confused here :-),
    Kris

  • Displaying tab page canvas on content canvas in Forms 6i

    Forms [32 Bit] Version 6.0.8.8.0 (Production)
    I have an existing form which has multiple canvases and there are couple of fields on Content canvas and then on the same content a Tab canvas is layed out. I can see both canvases in same layout editor and select and move the tab canvas.
    But when I create a new form and want to layout a tab canvas on top of content, it appears in a separate layout editor window on design time.
    I want it like below:
    -----------content--------------------
    |                                       |
    |                                       |
    |                                       |
    |TabPag1     TabPage2                   |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    -------------content------------------How can I create it so that it appears in same layout editor window at design time and appears in same window like one canvas on runtime.

    In order for the Tabbed Canvas to appear on the Content Canvas in the Layout Editor, you have to actually draw the Tabbed Canvas on the Content Canvas; eg: open your content canvas in the layout editor, click on the tabbed canvas toolbar button and then draw it on your content canvas. If you create the Tabbed Canvas object through the Object Navigator and then set the properties so it would display on the content canvas - it won't be visible on the content canvas with the layout editor.
    This is a bit of a quirk in the Forms Builder and they haven't corrected this in any of the newer versions of Forms yet. :-(
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Heed Help With Form Layout

    Hi all
    I am developing a j2me program that need display photos on a form like a photo gallery. I use image item to hold the resized photos on a form.
    What I want is to display 3 photos in a row, like this
    x x x
    x x x
    the programm is working fine on the emulator and nokia phone, but when I try on a Windows Mobile phone (HTC the JVM is Jbed) , It only display one photo in a row, like this
    X
    X
    X
    No matter what layout option and the size of photos, it only display one photo in a row
    I really need help with this
    Thanks

    The only way to get more consistent behavior across devices is to use the low level API -- Canvas, not Form. You cannot interfere with device-dependent implementations of the layout of a Form.
    db

  • Long canvas with scroll bar

    Hi. I have a form with a very long canvas containing more items than fit on the screen at a time - meaning some items are far down on the canvas and do not appear unless the user physically uses the mouse and scrolls down. This causes a problem for me because as the user tabs through the various fields the cursor will eventually "appear" to disappear. It has not actually disappeared of course, but it has simply navigated to an item that is further down on the canvas out-of-sight. Thus the user must recognize that this has happened and then use the mouse to scroll down and find the cursor again.
    Is there a way to automatically coordinate this scrolling so that the cursor always stays in view for the user - meaning that the user will never have to manually scroll down to find the cursor? Or worst case, can I programatically scroll down for the user so that the cursor always remains visible?
    Any help would be greatly appreciated. If you have any sample code please send it to: [email protected]
    Thanks in advance.
    Edited by: Buechler on Jun 30, 2009 12:20 PM

    -> 3) Changed the default Window width to 5 and it's height to 12
    Don't do that. That apparently guarantees the problem you have.
    The Window size should be no larger than will fit on the user's screen, and the user running the lowest screen resolution should be your target. We create forms no larger than will fit on the 800x600 layout. Our forms always use the Real,Pixel coordinate system, and I create forms with the window size set to a maximum of 784x442. Those reduced numbers allow the form to fit within a browser window in web forms. Our forms run under both 6i Client/Server AND Web, and there is a pre-form that adjusts the web form window size a little larger, but that is all.
    Also, when you run your form, that scrollbar you see is there because your window is not maximized. Our forms always maximize the window, and even have a when-window-resized trigger with this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">DECLARE
    W0 Window := Find_Window('WINDOW0');
    BEGIN
    If Get_Window_Property(W0,Window_State)<>'MAXIMIZE' then
    Set_Window_Property(W0,Window_State,Maximize);
    End if;
    END;</font></pre>
    The wwr trigger ensures the user never sees the Window0 border -- it is useless unless you are running a form with multiple windows, which we never do.
    So.... Maximize your Window0, and then you will see the behavior I have been describing. Create a stacked canvas with a vertical scrollbar, and it will behave even better.

  • Stacked canvas with horizontal scrollbar

    Hi,
    In a forms module I want to show a stacked canvas with a horizontal scrollbar. I have set the generator preference POPHSB on every level to yes, but the stacked canvas is still generated without scrollbar. In the Designer help topic "Generated stacked canvas properties" it is stated that the properties horizontal/vertical scrollbar is derived from the object library. But how can I set in Designer the name of an object library object for a stacked canvas? I don't want to override the object CGSO$CANVAS_POPUP because I also have other stacked canvases that doesn't need scrollbars.
    Regards,
    Vincent Botteman

    Hi,
    This is what I just have found: you must indeed create a new canvas object in the object library and then enter the name of the new canvas object in the property "Placement Template/Library Obj" of the first Module component on that canvas! Apparently, you can change the canvas by means of the first Module Component on that canvas.
    Regards,
    Vincent Botteman

  • Stacked Canvas with one block displaying twice

    I have a question regarding the Stacked Canvas. I have to create a calender for clients. (I am using stacked canvas to do that).
    In the 'calender' table i would have the information like ClientID, Year, weekno, start date, end date.
    So i created two blocks for 'Calender' table in this form. One block for Content canvas with ClientID and Year (Block1). And another block (Block2) on Stacked canvas for weekno, startdate and enddate.(normally there will be 52 weeks sometime 53 weeks)
    On the Block1 it suppose to display the ClientID and Year once. And in the block2 (stacked canvas) it suppose to display 53 rows with weekno and the start/end dates.
    When i create a new row in the block1 for clientid and year (1234, 2008) then the block2 will be populated with 01-jan-2008 to the 31-dec-2008. But the problem i am having is when i try to save it is trying to save two times one from block1 and once from block2 resulting in a unique constraint error.
    how should i structure this so it saves only once?
    I tried to keep the clientid and the year in block1 as non-database items and copied those values into the block2, that way it saves correctly but when i try to query on the upper block it gives me error.

    But you only have one table. You need two tables for master-detail. Can you normalize the calendar table and change it to two tables (master-detail).
    See
    Re: regarding display of records in header and line level
    Gerd offers a solution for two blocks and one table. Maybe that will work for you.
    Message was edited by:
    Mark Roberts

  • Newbie Help - Tab Canvas with Multiple Pages, Arrow to Navigate between

    Hi All,
    I am developing my first form. It is a page that requires several pages. I have created a tab canvas and put the pages on (there are 10 pages). When i run the form, i can see the first 4 page headers, and cannot see the other headers. Is there a way to have a arrow at the top so i can click on it to move the display so i can see the other pages?
    How would this normally be done? What i am after is a similar multi page navigation to that in the assignment screen, or any oracle screen with several pages.
    many thanks
    Rupz

    Hi, thanks for your reply.
    If i press F2, a list of all of the pages appear, but i do not get any arrows.
    I have a single tab canvas with 10 pages on it. The pages fit on the canvas, but not on the display window. Do i need to modify the canvas in any way to get the navigation arrows to display?
    thanks
    Rupz

  • Tab canvas + post-forms-commit + form_trigger_failure

    Hi all,
    There is a tab canvas with eight tab pages in my forms.
    In the post-forms-commit form-level trigger there are controls based on some conditions before executing the processes. When the conditions in the controls are not met then a stop alert is shown and form_trigger_failure is raised. All of these actions , that is the alert and form_trigger_failure , are contained inside a procedure named affiche_erreur.
    The problem is that after pressing the alert button then forms goes to the first tab page. And the focus is on a non-navigable button ! Very strange !
    I trapped the form_trigger_failure exception in post-forms-commit , but untill now I do not find any way how to put the focus in a specific item.
    So how to put the focus into a specific item or a specific tab page ?
    Thank you very much indeed

    Mark , the when-tab-page-changed trigger does not fire after I pressed the alert button although the focus goes always to the non-navigable button in the first tab-page. I wrote a pause statement at the beginning of the when-tab-page-changed trigger but there was no pause alert at runtime.
    Finally I created a timer in the exception of the post-forms-commit trigger which catches the form_trigger_failure exception , and in the when-timer-expired trigger I wrote go_item.

  • Tab canvas with required fields (problem)

    hi,
    I am using tab canvas with 5 tabs with diff blocks.
    receive
    issue
    adjust
    return
    view
    some fields are required in all tabs.
    when i run the form and in RETURN TAB and enter some data and click the save button the cursor goes to receive tab and focus the required fields with a message
    FIELD MUST BE ENTER
    same for issue tab also...
    i dont want to enter any thing there ..
    how i manage it
    thanks

    Not sure if I understand you correctly. You say some fields are required in all tabs, but also that you 'don't want to enter anything here'. Do you mean that the fields are required, but only if you're entering data on that specific tab? I.e. you don't have to enter all of the tabs.
    If that's the case, are all the tabs based on the same block, or different blocks?

  • Failure FRM-32029 while compiling Form with Forms Builder

    Hi.
    I have problem. I compile a form with Forms Builder from DevSuiteHome and get the failure:
    "FRM-32029 Window WINDOW not found; canvas-section CG$LOVCAN" (I translate it, it´s not the original terms).
    I google and search the forum and oracle page, but found nothing about this failure. In Forms-Builder itself is also nothing recorded about this problem.
    Do someone know more about this error?
    Thanks.

    Thanks inolau for answering.
    The problem is, that I don´t have a documentation about the sourcecode and these forms worked under from 6i to 9i upgraded Oracle AS and DB servers. So the problem is not only "where is the WINDOW", than more "why doesn´t works it under a new 10g version and how get it working?".
    That´s why I was searching for this not recorded error.
    And I´m worry about that searching for the part of the sourcecode where I found the "WINDOW" is like looking for a needle in a haystack. ;)

  • **Urgent**: GO_ITEM to pop-up CANVAS with IMAGE in Sun JRE gives error

    Our Forms 10g Environment is this: Forms [32 Bit] Version 10.1.2.0.2 (Production) using Sun JRE i.e. Java Plug-in 1.6.0_06
    Problem is that when we try to navigate to a canvas (from a Button) which has an IMAGE ITEM the form is exited. This happens in every form which has a canvas with an image.
    i.e. In Button, we have code: Go_Item('block123.button1'). Button1 is also in that pop-up canvas.
    Even GO_BLOCK gives the same result.
    If the image is in the same canvas as the button which has GO_ITEM code, then it works.
    Of course this whole things works fine in JInit. But we need to run in Sun JRE.
    Is this a Bug?? Any help would be greatly appreciated.

    christian erlinger wrote:
    Well, as you are on 10.1.2.0.2 I strongly suggest that you apply the latest Patchset (10.1.2.3) the latest CPU Patches and the latest merge Patches. A lot of focus related things are fixed in those patches.
    cheersI will do this and let u know thans.

  • Canvas and form (&elements)

    Hi, i wanna use input box with canvas. As i googled it is not possible. It says i have to write my own inputbox.
    First question: is there another way use inputbox with canvas?
    Second: Can i use canvas and form together. Can i draw something with canvas on half of screen, can i put a form on another part?

    aDiGe wrote:
    Lets make clear my problem.
    I have letters in square and i am changing square's background in my code. It is easy to make with canvas. But i need an InputBox under the letters, it is a bit hard for me to draw it with canvas.You mean you have problems making it editable, right? Because I can't imagine having problems with drawing some background under the letters. Or perhaps you should define what exactly do you mean by "InputBox".
    I thought to use form. When i use StringItem for letters i can not change their backgrounds (i dont know if it is possible)
    &#304; tried to use ImageItem for letters. I made each of letters image. When i ll change their background i am putting another letter image on the other letter image which has different background. But i am not sure if it ll be problem about performance.
    Any idea??Do I understand it correctly that you tried to simulate a TextField (which is an already available Item) using ImageItems only to have some background color under the text?
    I don't know what application are you writing, but what's wrong with a simple TextField? If you're using Canvas for the rest of your application and sometimes you need some text input, just switch to a Form, let the user enter the data and switch back.
    If you don't like the look of the high level GUI, implement your own TextField usable with Canvas. But trying to bend a Form like you described is just... odd.

  • Replace Canvas with Group!??

    Hi,
    I tried to replace the Canvas with a group in the following code
    This works fine:
    1.)
    <mx:TabNavigator id="tn" width="100%" height="100%"> ...
    private function AddForm():void{
        var children:Array=tn.getChildren();
        var form:myCanvas=new myCanvas;
        tn.addChild(form);
        form.label="Form" + (children.length+1).toString();
        tn.selectedChild=form;
    2.)
    I tried to do the same with a group, this have several problems:
    private function AddGroup():void{
        var children:Array=tn.getChildren();
        var form:myGroup=new myGroup;
        tn.addChild(form);
              // runtime: TypeError: Error #1034: Type Coercion failed: cannot convert myGroup@f02ec29 to mx.core.Container.
        form.label="Form" + (children.length+1).toString();
              // compile error 1119: Access of possibly undefined property label through a reference with static type myGroup.    TestModuleService.mxml              TestModuleService/src    line 78    Flex Problem
        tn.selectedChild=form;
              //compile error 1067: Implicit coercion of a value of type myGroup to an unrelated type mx.core:Container.    TestModuleService.mxml              TestModuleService/src    line 80    Flex Problem
    Is it possible to achieve the same result as 1.) using a group?
    Thanks for any pointers!
    Martin Zach

    Hi,
    the reason for my question was, that I didn't understand the advantage of spark. Now I do!
    The follwoing videos explains that wunderfully:
    http://labs.adobe.com/technologies/flashbuilder4/tutorials/
    ->
    Part "Learn about Flex 4 SDK"
    Video: Skinning Components and Applications in Flex 4
    Thanks for your answers!
    Martin Zach

  • Canvas with high level API

    Hi all,
    I want answers for my two questions very urgent..please tell me
    1) can we use canvas with high level API like Forms,TextFeild,List etc. 2) Then can i know CustomItem work with canvas.
    Thanks in advance
    Regards / sourab

    Hi,
    Is there possible to desgn the session window (like that we have in yahoo messenger) using canvas.If so means,please explain it for me.
    Thanks / sourab

Maybe you are looking for