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)
İ 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.

Similar Messages

  • J2ME Canvas and Form Objects

    I am currently in the process of converting an existing MIDP application which uses the standard high-level UI to implement menus and form objects.
    I am converting this to use the low-level UI with canvases to make the application look far more professional. There seem to be no decent tutorials realting to using the canvas to with relation to menus or user input.
    Is it possible to add the standard TextField and ChoiceGroup types into a canvas? If not, how are these implemented in existing MIDP applications that clearly use a canvas.
    Thanks for any help that you might be able to give,
    Dave

    umm abit of athread revivial but it seems that using j2me polish is more hard work than using standard j2me. This is because you need to know abit of xml and css to take full advantage of j2me polish.
    still is that the only way to create a form in a canvas?

  • Canvas and Forms Server

    I have an application with some different windows. Each window possesss a different function. When I go to publish my application in web, those windows with one canvas had only appeared. The ones that possessed one more than, had simply not appeared. It has some restriction how much to the this?
    9iAS 1.0.2.2.1
    Forms 6i

    See my previous answer on Focus and somewhere for the cursor to go. If in doubt do a GO_ITEM() rather than SHOW_WINDOW()

  • Create form elements directly in InDesign and publish them directly to PDF forms.

    It would be great to add form elements directly in InDesign (e.g. on a specific layer) and when publishing the document to PDF automatically exporting them.
    Now the work flow for adding one new field in am existing PDF form is quite complicated:
    Edit the InDesign document (layout and text) in InDesing -> publish the PDF out of InDesign -> add the existing form fields (copy from existing form into new) -> move the fields to the right place (acrobat does not support paste in place!) -> add the new field (name it, place it, etc.) -> save the PDF.
    For our company handling many different forms, with a lot of changes, this process is very error-prone.
    Enabling this process in one application would help a lot. We are currently using CS3. The feature overview of CS4 does not seem to implement this.
    Anyone else suffering here?
    Best regards,
    Michael

    Just incase you don't Adobe make a Windows only app Lifecycle which is a full blown form design app. Real layout tools, real calculation tools, vastly better than Acrobat which is too tedious for forms. If you company does lots of forms I'ld give it a look.
    They have no intention to bring to Mac I gather, as Mac is a designers only domain according to one Adobe Evangelist I spoke to.

  • Clear canvas and not form

    Hi,
    I am having 2 canvas both content canvas in one form.
    There are lov dropdowns to get the values and when queried we get result set in plsql table type.
    Both the canvas are identical and value from result set of one canvas get populate on the other canvas.(same lov selected values)
    can anybody tell how to clear the second canvas without exiting from the canvas so that if i want to select new lov i can be able to do that?
    what trigger can i use to clear only the values of the lov on the sceond canvas and not the whole form(like we use clear_form).
    Thanks,
    Mandar.

    canvas is not something which holds data. canvas holds items. you can either clear item or clear block or clear whole form to clear the data, but saying something like clear canvas is different. one canvas can hold data of 2-3 (or may be more) different blocks. you need to specifically check which item/block you want to clear and then clear it, either using clear_block or clear_item or may be manually assigning NULL value to each individual item. but there is nothing called clear_canvas.

  • Losing form elements and referer when opening in a javascript window

    I am submitting from a.cfm to b.cfm. b.cfm opens in a Javascript window. In b.cfm, the form elements from a.cfm are lost and cgi.referer returns nothing.
    When I don't open b.cfm in a Javascript window, everything is ok.
    What is this happening?

    Still getting the same thing.
    When sf is clicked in aaaa.cfm, bbbb.cfm does not see the variable named "a".
    When the link with the * is clicked, bbbb.cfm sees "a".
    What on earth am I doing wrong?
    This is aaaa.cfm.
    <html>
       <head>
          <script language="javascript">
             function f(nextpg_,nextwin_)
                var _attrs='';
                var _br=navigator.appName;
                document.forms[0].method="post";
                document.forms[0].action=nextpg_;
                if (_br=='Microsoft Internet Explorer')
                    _attrs='height='+screen.height+',width='+screen.width+'toolbar=0,menubar=0';
                    _attrs=_attrs+'top=0,left=0';
                    window.opener=null;
                    window.close();
                    window.open(nextpg_,nextwin_,_attrs)
                else
                  alert('Internet Explorer Please.')
             function g(nextpg_,nextwin_,val)
                var _attrs='';
                var _br=navigator.appName;
                document.forms[0].method="post";
                document.forms[0].action=nextpg_;
                if (_br=='Microsoft Internet Explorer')
                    _attrs='height='+screen.height+',width='+screen.width+'toolbar=0,menubar=0';
                    _attrs=_attrs+'top=0,left=0';
                    window.opener=null;
                    window.close();
                    window.open(nextpg_+'?a='+val,nextwin_,_attrs)
                else
                  alert('Internet Explorer Please.')
          </script>
          <title>
          </title>
       </head>
       <body>
          <form name="ff">
             <cfset a=0>
             <cfoutput>
                <input name="a" type="text" value="#a#">
             </cfoutput>
             <input name="sf" type="submit" value="*" onClick="f('bbbb.cfm','windowname')">
             <a href="javascript:g('bbbb.cfm','x','<cfoutput>#a#</cfoutput>')">
             </a>
          </form>
       </body>
    </html>
    This is bbbb.cfm
    <html>
       <head>
          <title>
          </title>
       </head>
       <body>
          <cfoutput>
             *#a#*#now()#*
          </cfoutput>
       </body>
    </html>

  • Auto alignment and sizing in form elements- can't turn it off

    For some reason a certain form I'm working on in Acrobat 9 Professional on Mac, Leopard 10.5.8, has a problem.
    It has a feature enabled that I can't figure out how to disable. Form elements sizes and positions are not adjustable in the micro range as usual.  A button is a given height and can only be adjusted to twice or thrice (etc.) that height. Similarly, it can only be moved in the same increments. It can't be nudged.
    I am accustomed to being able to nudge with mouse or arrows in such small increments that the form elements seem infinitely adjustable in size or position.
    Is there a setting somewhere that disables this feature?
    See the attached PDF with transparent buttons on the first page (TOC).
    thanks,
    Steve Horn

    Yes, indeed. Thank you, thank you, thank you.

  • What the difference between Canvas,View and Form

    hi
    What the difference between canvas and view and form
    why asking becoz i find form builder reference
    built in like FIND_CANVAS
    FIND_VIEW
    FIND_FORM
    What the difference between these 3
    thanks in advance
    prasanth a.s.

    Asuri - with all these questions you are posting it looks like you are sitting and exam or an interview. The best advice I can give you is the skill of being able to research answers yourself.
    I would encourage you to get familiar with the online help and the various documents on OTN - this will give you knowledge; not just answers.
    Regards
    Grant Ronald
    Forms Product Management

  • Column value substitution in tabular form element attributes

    We started to discuss this at Re: Tabular form with Ajax
    I also mentioned this at Re: how to make only some rows editable in html db.
    but thought that this deserves its own thread.
    In Doug's sample Sudoku application in that thread, he uses #COLUMN# substitution in the Form Element Attributes and it works fine, but in my example page at http://htmldb.oracle.com/pls/otn/f?p=24317:219 I used the same technique and no matter what I do, the #COLUMN# substitution is not expanded by the Apex engine.
    This is driving me nuts, any ideas why it works in one application but not in another?
    Thanks

    Hm, you might be right.
    I copied your row template and modified it at http://htmldb.oracle.com/pls/otn/f?p=24317:219
    The styling looks terrible, not sure why, the template is simply
    <tr>
    <td class="t10data">#EMPNO_DISPLAY#</td>
    <td class="t10data">#ENAME#</td>
    <td class="t10data">#JOB#</td>
    <td class="t10data">#MGR#</td>
    <td class="t10data">#HIREDATE#</td>
    <td class="t10data">#SAL#</td>
    <td class="t10data">#COMM#</td>
    <td class="t10data">#DEPTNO#</td>
    </tr>I had a lot of trouble getting this to work because the wizard generated tabular form appends 2 hidden fields containing the PK and the row-checksum to the last (editable?) field on each row. If the last editable field has #COL# substitution, it expands the substitution and forgets to close the INPUT tag thus causing malformed HTML (I think this is a bug in the rendering engine).
    The readonly condition is sal>1000 which now works. The SAL>1000 fields are now readonly.
    But now the update process is broken. If I enter a number in the first blank SAL field (empno=3641) and click Submit, I get no errors but the change is not saved. Wonder why.
    Hopefully, Scott (Spadafore) will take mercy on our amateurish experiments and give us some definitive answers soon!
    Thanks.

  • New Mac: Why are CC and Photoshop Elements not working when Lightroom and Reader are fine

    Last week I changed computers (swapping an old Mac for a 13-in MacBook Pro Retina running OSX Yosemite 10.10.3. I copied all my data over to the new machine using Migration Assistant.
    All programs work fine (including my copy of Lightroom 3 and Reader XI). But my CC and Photoshop Elements 10 do not. I have tried uninstalling both, but whenever I try to reinstall PE10 from its disk or download it just stops almost at the end. I then I get an "initiation failed" message, along with a request to download the now defunct "Support Advisor" app!
    I cannot download Adobe Application Manager, or the CC desktop app either - for the former I get an "initiation failed" message, along with the "download Support Advisor" app" message again! For the latter I get a message saying "Adobe Creative Cloud Is Needed to Resolve this problem - however it is missing or damaged." Then I get a message and a link to download Creative Cloud. Then when I've downloaded it and I click on the installer... it runs for a bit and then I get the message again: "Adobe Creative Cloud Is Needed to Resolve this problem - however it is missing or damaged." And I get a prompt and link to download the CC app. Guess what happens next? And so it goes on. And on and on, in a tedious circle.
    This is incredibly annoying and frustrating as I have work to do! Anyone have any ideas what's happening?
    Cheers
    K

    do not use migration to install adobe programs.
    you should uninstall and clean whatever you've done, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    then dl the cc desktop app to your new computer and use it to install your adobe cc programs, Download Adobe Creative Cloud apps | Free Adobe CC trial
    if you have non-subscription adobe programs, use the installation files for them:
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5 | 1
    Contribute:  CS5 | CS4, CS3 | 3,2
    FrameMaker:  12, 11, 10, 9, 8, 7.2
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Passing Session Values to the Tabular Form Element of a Report Column

    Hello,
    I'm running application express version 2.0 with a 10.2.0.2.0 database on a 32 bit windows box. I'm trying to figure out sneaky a way to pass the &APP_PAGE_ID., #APP_PAGE_ID# or V('APP_PAGE_ID'); as an element attribute of a Report Tabular Form Element set to display as a Select List (named LOV).
    It seems that whatever option I choose, the Element Attributes field will only render the literal value of what I have entered. This is part of the solution but I would like to find a way to pass the current page id.
    What I'm trying to do is utilize the ONCHANGE attribute to redirect to a report page in my application when the value from a Select List (named LOV) is selected.
    I could work around this by creating my own table output with PL/SQL and HTP.P commands but would really be interested in finding out if I can use the reporting structures which are already available through Application Express.
    Any ideas?
    Thanks.
    Justin.

    Thanks for the response Earl. To clarify this is what I've done and what I hope to achieve:
    I currently have a LOV for my application that identifies a number of database report types: DB Options, DB Parameters, DB Version, and so on.
    I have an application express report being generated for the databases I'm monitoring and it displays as follows:
    - HOST -- DBTYPE -------- DBNAME - DBREPORTS
    =====================================
    - SVR 1 - Oracle 9.2.0.1 - DEV -------- [LOV HERE]
    - SVR 2 - Oracle 9.2.0.7 - TST --------- [LOV HERE]
    I am displaying the LOV on my report the the options under the reports attribute tab in my application builder. I insert my LOV select list by editing the DBREPORTS column and set the "Display As:" option under Tabular Form Element to "Select List (named LOV)"; I have also added my LOV to the "Named LOV" option under List of Values.
    So far this achieves everything I would expect and works quite well (a select list with my report types appears in my monitor report for each DB that is returned).
    What I'm interested in doing now is opening a DBREPORT for a given database by simply choosing the report type from my LOV. I can set the "Element Attributes" option under Tabular Form Element to execute a javascript call for any valid event (in my case I'm using ONCHANGE).
    My only issue is that I cannot find a way to pass any session values from my page to my Element Attribute. If, in the Element Attributes field I enter:
    onchange="alert(this.value);" //my dialogue box will display the value of my current selection when I choose a report type.
    What I'd love to be able to do is something like:
    onchange="alert('&APP_PAGE_ID.');" //so my current page id is written to the element.
    Unfortunately, only my literal text seems to be rendered. Rather than having my dialogue come back with my page number, say 75, I receive the literal value &APP_PAGE_ID.
    Notwithstanding any quote issues, I've tried to dump a test html attribute to my source html by entering any of the following in the Element Attributes field:
    test=&APP_PAGE_ID.
    test=#APP_PAGE_ID#
    and as a shot in the dark knowing that I'm not using PL/SQL:
    test=V('APP_PAGE_ID');
    In every case when I view source I see the literal value of what was entered in the Element Attributes field (ie "test=&APP_PAGE_ID." instead of "test=75").
    What makes things a little more frustrating is that I can drop &APP_PAGE_ID. into the Column Heading field (ex My Heading &APP_PAGE_ID.), it renders as I would expect; "My Heading 75". If we could find a solution to this, I could see a number of slick uses for this type of functionality.
    Hope this helps,
    Thanks.
    Justin.

  • Form element id changed after upgrading from APEX 3.2.1 to 4.0.2

    Hi,
    We are in the process of testing an upgrade of our APEX 3.2.1 app to 4.0.2. The production database was exported, imported as a new database, and then upgraded to 4.0.2. I've noticed that on pages where we have coded our own PL/SQL process in place of the built-in MRU, the form element id (referenced using g_fxx) has changed. For example, in our existing production system, the id for the first row of data is f06_0001, but when we look at the same page in APEX 4.0 environment, the element id has changed to f08_0001. Is this a known issue when performing an upgrade? Has anyone else experienced this?

    Hi,
    I have seen this problem.
    I assume that Apex 4 do not give fxx name to items anymore in order where columns are in query.
    This is one of reasons why we have not been yet able to upgrade.
    And it seems this same problem exists in Apex 4.1 on apex.oracle.com
    Regards,
    Jari

  • How many times can I install Photoshop and Premiere Elements 13?

    How many times can I install Photoshop and Premiere Elements 13?

    mbuenger
    Are you referring to how many times can I install, uninstall, reinstall Photoshop Elements 13 or Premiere Elements 13 on the same computer?
    Or, how many of your computers can have a same purchased activated serial number at the same time for either of these products?
    If the former, I know of no limit.
    If the latter, the answer would be as John as mentioned.
    ATR

  • How to track changes made in a jsf form element.

    I am in a page and editing some form elements. I click on some other link which will take me to another page. Before moving to another page I want to check if there are some unsaved data in the page. If some form elements are edited, I want to throw a confirmation alert, if the user wants to move to the other page without saving the edited data.
    This can be accomplished by having a hidden flag which will keep a track. On change of any element, a javascript function will be called to set the hidden flag. So before going to any page we can check the flag and throw an alert.
    But this process will be needing much coding effort. Is there a way in JSF to track the change in a form by backing bean or some other process?

    JSF offers a serverside ValueChangeEvent for that. Every UIInput component supports a 'valueChangeListener' attribute (and a f:valueChangeListener facet) which can point to a method in the backing bean which takes a ValueChangeEvent parameter. This will only be invoked if the new value differs from the old value. This costs one trip to the server though.
    E.g.<h:inputText value="#{myBean.value}" valueChangeEvent="#{myBean.valueChanged}" />MyBeanpublic void valueChanged(ValueChangeEvent event) {
        Object oldValue = event.getOldValue();
        Object newValue = event.getNewValue();
        // Do your thing.
    }ValueChangeEvents are invoked in the 3rd phase of the JSF lifecycle, after validation/conversion and before update model values. Also see http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html

  • When submitting form, form elements like text box are not available in my action page. This occurs only for several times. if i resubmit the form, i can get the form elements in my action page. May be form get submitted twice in firefox 3.6.13

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

Maybe you are looking for