9 Replies Latest reply: Jan 29, 2013 4:01 AM by HamidHelal RSS

    choose desired color for canvas

    Maahjoor
      Dear all,
      i am using oracle developer suite 10g for windows plateform.

      i want to use a specific colour for my canvas which is on my desktop.
      i capture the desktop, and open it in mspaint, and pick that color and add it to custom color.
      now i am wondor how to select it as a background color for the canvas.

      any idea?

      Regards.
        • 1. Re: choose desired color for canvas
          HamidHelal
          Maahjoor wrote:
          Dear all,
          i am using oracle developer suite 10g for windows plateform.

          i want to use a specific colour for my canvas which is on my desktop.
          i capture the desktop, and open it in mspaint, and pick that color and add it to custom color.
          now i am wondor how to select it as a background color for the canvas.

          any idea?
          Hi Maahjoor,
          In general canvas support only available color in form Color Palate.
          Then easy of of set color can be done in two way.
          1. Go layout editor
          2. select the canvas
          3. From left bottom tool plate select your desire fill color. and done...

          or
          1. select the canvas
          2. go to it's property plate
          3. under color >> set background color

          here you can set your custom color by entering value
          like
          R88G88B88
          Hope this works..
          • 2. Re: choose desired color for canvas
            Maahjoor
            no, it is not working
            i check the RGB in the paint color plate, and put them in the property plate as you said,
            but it give the following error
            frm-12305: Color by this name does not exist.
            • 3. Re: choose desired color for canvas
              Amatu Allah Neveen Ebrahim
              hi
              set the image of the color u captured in ur form as a back ground
              but forms no more than colors it equipped have.

              Amatu Allah
              • 4. Re: choose desired color for canvas
                Maahjoor
                Amatu Allah wrote:
                hi
                set the image of the color u captured in ur form as a back ground
                but forms no more than colors it equipped have.

                Amatu Allah
                no , i have noticed a person long ago, he do the following,

                capture the image,
                paste in maspaint
                choose the pick color
                add it to custom color
                open the form builder
                and choose the color plate,
                and that color which he added into the custom color in the mspaint, exists in the forms color plate.

                but i dont know how he do this
                • 5. Re: choose desired color for canvas
                  Amatu Allah Neveen Ebrahim
                  u let me though now of the link between both windows & forms ...
                  may be the color pallet is imported from windows and there is a line in windows register some were is added before ur friend did the steps u mentioned it is just a thought not really sure sorry i couldn't help but u can search for windows registry on Google if u interested

                  Amatu Allah
                  • 6. Re: choose desired color for canvas
                    Maahjoor
                    i am pretty sure that it was not a registery technique.
                    it was purely oracle forms technique.
                    somehow i am digging it.
                    • 7. Re: choose desired color for canvas
                      HamidHelal
                      Maahjoor wrote:
                      i am pretty sure that it was not a registery technique.
                      it was purely oracle forms technique.
                      Yes !!!
                      you can.
                      follow the instruction.

                      In 10g

                      Set to Editable
                      Edit -> Preferences -> change colour mode property to Editable -> Exit form builder

                      Add Custom Colour

                      Re-open the form
                      Open a canvas
                      From Edit Menu-> Layout Options -> Colour Palette
                      Select a colour to edit by clicking on an undefined colour i.e. a white square on the bottom far left of the palette
                      In the current colour dialog it will say something like custom5 change it to a more meaningful name you can call it the rgb value
                      Then click on rename -> then Edit -> change the rbg value to the colour you want to add-> click OK

                      Export the custom colour palette
                      From the canvas -> Edit -> Export -> Colour Palette -> give it a name


                      Your are done...


                      Hamid
                      • 8. Re: choose desired color for canvas
                        Maahjoor
                        finally!!!
                        great show...

                        i am really really thankfull to you brother.
                        you solved one of my big problem.

                        Jazakallah o Khaira.
                        • 9. Re: choose desired color for canvas
                          HamidHelal
                          Maahjoor wrote:
                          finally!!!
                          great show...

                          i am really really thankfull to you brother.
                          you solved one of my big problem.

                          Jazakallah o Khaira.
                          Alhumdolilah..

                          Praise be to Almighty Allah (God)