Chage Color in Tablour Style form

Hi i want to change the color of Even no row
For example
1st row white
2nd row blue
3rd row white
4th row blue
Regards
Shahzaib ismail

create a procedure in the program units
procedure l_set_color( p_rec_no number ) is
m_va varchar2(30) ;
Begin
If mod(p_Rec_no,2) = 0 then ---even_row
   m_va := 'EVEN_VISUAL_ATTRI'; /*create a visual attribute for even row and give its name here*/
else
   m_va := 'ODD_VISUAL_ATTRI';/*create a visual attribute for odd row and give its name here*/
end if;
set_item_instance_property('m_item_1',p_Rec_no,visual_attribute,m_va);
set_item_instance_property('m_item_2',p_Rec_no,visual_attribute,m_va);
set_item_instance_property('m_item_3',p_Rec_no,visual_attribute,m_va);
.. /*like this write code to set visual ttribute for all the visible items in the block*/
End;In Post -Query trigger of the block, call
l_set_color(:system.trigger_record);
In pre-record, call
l_Set_color(:system.cursor_Record);
Edited by: Dora on Feb 7, 2010 12:40 PM

Similar Messages

  • Serial # in Tablour Style form

    I want to show serial # in my tablor style form
    Regards
    Shahzaib ismail

    Shahzaib,
    In the item's property page, set the property Calculation Mode as Formula, and the Formula property as *:SYSTEM.TRIGGER_RECORD*. Then it will be OK.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Generate Max number +1 in Tablour Style

    Hi
    I am using tablour style form i want to create a max(no)+1 in each row
    i write this trigger
    but its show max(no)+1 in first row and same number coming in all other row
    for example
    My Max(no) is 15
    So in
    First row its show 16
    2nd row 16
    3rd row 16
    Sequence number generate in each row
    Hope you guys understand
    My form version is 6I and database 10g
    Regards
    Shahzaib ismail

    max + 1 will not work until u use POST........but POST will generate REDO.
    Another option is to get_block_property(:system.cursor_block,record_no) as Serial No
    one more choice is to create a summary column called Count_records in ur block which counts any field of ur block and on WHEN-CREATE-RECORD or any other trigger u can write this code
    if :my_block.myid is null then
       :my_block.myid  := nvl(:count_ids,0) + 1;
    end if;Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]
    Edited by: Baig on Feb 9, 2010 11:01 AM

  • How to change the Hyper links color in the XML form

    HI SDNs
    Do u have any idea how to change the hyperlink color in the xml form. My requirement is as follows.I have created xml form by using xml template and i displayed this xml form by using Km document iview.  I need tochange the hyper link color in the xml form content. I dont want to go for manual process by editing the xml form. because i have several hundreds of xml forms.
    Appreciate if you give suggestion.
    Thanks
    Ramana

    Hi Ramana,
    The most convenient way to change the hyper links is by using the Theme Editor. Go to System Administration --> Portal Display --> Select Theme --> Component-Specific Styles --> Links --> Function/Result Link.
    Hope this helps.
    Kind regards,
    Joost

  • Assets panel styles, can i change the color of a style to be an exact color?

    Assets panel > styles, can i change the color of a style
    to be an exact color? for example, if i want to create a navbar
    with the black and gray glass affect style, but i want to change
    the color but keep the same style of shading. each style in the
    assets panel has a default color, but i want to change the color
    and keep the style. i did change the color a little bit by
    adjusting the hue and saturation, but i can't seem to get an exact
    match of the color i am trying to duplicate. any help is greatly
    appreciated thanks

    When a style is applied to any object, the Properties panel
    at the bottom will reflect the attributes which are editable in
    that applied style. The properties which can be edited are fill and
    stroke colors also apart from adjusting the Hue and Saturation.
    Gradient colors can be modified by changing the fill color.
    The nodes in the gradient will change the color from blue to black
    or any other intended color of change. If you know the color you
    can either enter it as a 6 digit value or you can pick a color from
    an existing object.
    Hope it helps. Let me know I am missing you query
    completely.

  • ABAP style FORM..ENDFORM in BSP ...?

    Hi, guys!
    I'm rather new to BSP world. Could someone help me with the following question:
    Is it possible to use ABAP style
    =====================
    FORM abc
         USING abc1
         CHANGING abc2.
    ENDFORM.
    =====================
    in BSP and accordingly to call it via PERFORM let's say in Layout of BSP?
    Or maybe there is something instead of this?
    Thanks in advance,
    --- Kaspars
    P.S. In particular case I'm not using MVC format (just htmlb, abap and javascript in layout; and abap in OnInitialization event handler).

    look at the link reg using subroutine in BSP:
    Re: Subroutines in BSP ??????
    <i>Is it "suggested" or is it mandatory to use class/methods</i>
    Its not mandatory to use class/method. But BSP is developed based on class/methods, so you cant avoid using class & methods..
    Raja T

  • Is there a way to have a background color/texture take the form of an image?

    Is there a way to have a background color/texture take the form of an image?
    I would essentially like to have a gold foil texture take the shape of a logo - almost like a cookie cutter or stamp.... is there an easy way to do this?
    Thanks!

    CLipping masks. Read the help. This is really something basic.
    Mylenium

  • Interview style forms

    Does Acrobat have any kind of plug-ins to create an interview style form similar to the kind Turbo Tax offers?
    Question 2: is there any way in Acrobat to create forms so some fields appear (or not) depending on an answer inputted in a specific field?
    Thanks for any help you can provide. I oversee over 400 forms and would love to use either or both of the above to provide better forms.

    Hi Nancy,
    I'm work at the company George mentions above (WindJack Solutions) that developed
    AcroDialogs. If you visit our AcroDialog product page at that link, we have a downloadable PDF Demo of an interview type form-filling solution for PDFs using custom dialogs called "Form Wizard Example." Very similar to how TurboTax and other complex forms work by having the user answer questions in panels that then insert the data into the appropriate fields in the form.
    Adobe also has a product in the LiveCycle product line called "Form Guides." If you have Acrobat Professional 8 it is part of the LiveCycle Designer program that comes in the box with Acrobat. The only caveat is that while you can create the form guides in LiveCycle Designer for your form, you must purchase a LiveCycle Server product to deploy them. I'm not sure of the cost, but that line of servers is typically in the many thousands of dollars. You'll need to contact an Adobe sales person for pricing.
    Hope this helps,
    Dimitri Munkirs
    WindJack Solutions
    www.pdfscripting.com
    www.windjack.com

  • How can I change the default blue colors of Planning web forms?

    Hi,
    how can I change the default blue colors of Planning web forms and the Logon screen colors?
    thanks

    That PDF file mentioned updating file HspCustomImgs_en.template in D:\Hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\HyperionPlanning\custom folder:
    But for what I needed to do, here's another undocumented file to change color in right side menu: Update global.css file
    in D:\Hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\ HyperionPlanning\ui_themes\tadpole

  • How to change color of a report/form

    Hi,
    I am new to APEX. I have created an interactive report and using Theme-9 Simple Gray.
    I want to change background color of this report and form. May you please giude me.
    Thanks in advance.

    Hi Srikkanth,
    Thank you for the quick response.
    Let's assume that I want to change background color of "Navigation Region", as per the link you provided I updated the theme as below:
    {body style="background-color: 006633" #ONLOAD#/}#BODY#
    still it is not working, may you please help in identifying what am I doing wrong here?
    thanks in advance.
    Edited by: 864422 on Jun 8, 2011 3:26 AM

  • font color=red Create/Modify forms and triggers through C++ using OPEN API

    <font color=red>
    Dear brothers/sisters<font color=darkblue>
    <br><br>
    Please help us to find the linking problem.
    <br>
    We have to add PRE-FORM trigger to many FMBies. We have thousants of FMBies. So opening one by one is difficult. For this we are using OPEN API and BORLAND C++. We have coppied all header files from D:\orant\FORMS60\API.
    But there is a link error. Here is the snippet.
    <br>
    <font color=red>
    <br>#include <stdio.h>
    <br>#include <stdlib.h>
    <br>#include <malloc.h>
    <br>#include <d2fctx.h> /* Forms API context */
    <br>#include <d2ffmd.h> /* Form module header file */
    <br>int main (int argc, char *argv[])
    <br>{
    <br>d2fctxa ctx_attr;
    <br>d2fctx *ctx;
    <br>d2ffmd *form;
    <br>text *form_name;
    <br>/* Check arguments */
    <br>if ( argc != 2 )
    <br>{
    <br>fprintf(stderr, "USAGE: %s <filename>\n", argv[0]);
    <br>exit(1);
    <br>}
    <br>/* Create Forms API context */
    <br>ctx_attr.mask_d2fctxa = (ub4)0;
    <br>if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error creating Forms API context\n");
    <br>exit(1);
    <br>}
    <br>/* Load the form module into memory */
    <br>if ( d2ffmdld_Load(ctx, &form, argv[1], FALSE) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Failed to load form module: %s\n", argv[1]);
    <br>exit(1);
    <br>}
    <br>/* Get the name of the form module */
    <br>if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error getting the name of the form module\n");
    <br>}
    <br>else
    <br>{
    <br>/* Print the name of the form, then free it */
    <br>printf ("The name of the form is %s\n", form_name);
    <br>free(form_name);
    <br>}
    <br>/* Destroy the in-memory form */
    <br>if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error destroying form module\n");
    <br>}
    <br>/* Close the API and destroy context */
    <br>d2fctxde_Destroy(ctx);
    <br>return 0;
    <br>}
    <br>
    <font color=darkblue>
    <br>
    The compilation is success. But there is a link error. Please help us to find the problem.
    <br><br>
    Here is the error Message.
    <br>
    <font color=red>
    <br>Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    <br>FIRST.CPP:
    <br>Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    <br>Error: Unresolved external '_d2fctxcr_Create' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdld_Load' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdgt_GetTextProp' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2fctxde_Destroy' referenced from D:\API\FIRST.OBJ
    <br><br>
    <font color=darkblue size=4>Could you please help us.......<br>

    <font color=red>
    Dear brothers/sisters<font color=darkblue>
    <br><br>
    Please help us to find the linking problem.
    <br>
    We have to add PRE-FORM trigger to many FMBies. We have thousants of FMBies. So opening one by one is difficult. For this we are using OPEN API and BORLAND C++. We have coppied all header files from D:\orant\FORMS60\API.
    But there is a link error. Here is the snippet.
    <br>
    <font color=red>
    <br>#include <stdio.h>
    <br>#include <stdlib.h>
    <br>#include <malloc.h>
    <br>#include <d2fctx.h> /* Forms API context */
    <br>#include <d2ffmd.h> /* Form module header file */
    <br>int main (int argc, char *argv[])
    <br>{
    <br>d2fctxa ctx_attr;
    <br>d2fctx *ctx;
    <br>d2ffmd *form;
    <br>text *form_name;
    <br>/* Check arguments */
    <br>if ( argc != 2 )
    <br>{
    <br>fprintf(stderr, "USAGE: %s <filename>\n", argv[0]);
    <br>exit(1);
    <br>}
    <br>/* Create Forms API context */
    <br>ctx_attr.mask_d2fctxa = (ub4)0;
    <br>if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error creating Forms API context\n");
    <br>exit(1);
    <br>}
    <br>/* Load the form module into memory */
    <br>if ( d2ffmdld_Load(ctx, &form, argv[1], FALSE) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Failed to load form module: %s\n", argv[1]);
    <br>exit(1);
    <br>}
    <br>/* Get the name of the form module */
    <br>if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error getting the name of the form module\n");
    <br>}
    <br>else
    <br>{
    <br>/* Print the name of the form, then free it */
    <br>printf ("The name of the form is %s\n", form_name);
    <br>free(form_name);
    <br>}
    <br>/* Destroy the in-memory form */
    <br>if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error destroying form module\n");
    <br>}
    <br>/* Close the API and destroy context */
    <br>d2fctxde_Destroy(ctx);
    <br>return 0;
    <br>}
    <br>
    <font color=darkblue>
    <br>
    The compilation is success. But there is a link error. Please help us to find the problem.
    <br><br>
    Here is the error Message.
    <br>
    <font color=red>
    <br>Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    <br>FIRST.CPP:
    <br>Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    <br>Error: Unresolved external '_d2fctxcr_Create' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdld_Load' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdgt_GetTextProp' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2fctxde_Destroy' referenced from D:\API\FIRST.OBJ
    <br><br>
    <font color=darkblue size=4>Could you please help us.......<br>

  • Font color and font style

    Can i know how can i change the color ,size and the style of the font in a text area?
    and also how can i get the font style and font size currently use in the text area?

    No, a Font doesn't have a colour. But you can set the colour of the text in a text area with setColor().

  • Maintaining fill colors in character styles across multiple AI documents

    I'm having a lot of trouble understanding how Adobe Illustrator (CS6) manages character styles imported from different ai documents. If I create all character styles in a single .ai document and only use them in in that document, everything works as expected--colors, fonts, and typography settings are maintained in the character style, and newly added text can be quickly styled with the character style.
    My trouble starts when i want to re-use those character styles in a new .ai document. From the character style menu I use the option to import the character styles from another document, and they import correctly--all of the styles work and style text as expected. But then i save & close the document and re-open it to find that the character style entries are there, but the fills and strokes are all messed up--fonts, sizes, typography settings are maintained, but styles with a blue fill are suddenly filed with black, or some other color.
    So, why is this happening? This happens even if the swatches associated with the character styles are imported to the new document as well. I've read that all character styles are based off of the 'normal' character style. But, i've tried a test making sure that the 'normal' character style was consistent between the two documents and i've still experienced the issue.
    Here's a short video showing the issue i'm experiencing: http://youtu.be/Z-BG7miwib8 (watch at 720p)
    Any insights as to what i'm doing wrong would be GREATLY appreciated.
    Thanks!

    Jamier,
    can you please do the following and report what you see?
    1. Open a blank document
    2. Import a character style
    3. Make a text object and apply the style
    4. Cut and paste the text object inside the document
    5. Save the file
    6. Reopen this file
    Is the character style still intact?
    If so, you could take this way as a bumpy workaround (that should not be required at all, of course).

  • Can't style forms with CSS in DWCS6 / Need to add WYSIWYG menu

    Hello everyone,
    i put both my "problems" in a single topic:
    1) I was trying to add some style to my pages with forms in them, but it seems it doesn't work so well.... i explain: i create a php page, i insert a form with text fields (username and password, for example) and the "login" button. The form ID is "LogForm". I create a CSS class, called ".FormCSS" and inside i put the rule "align text: right". I apply the rule to the form and all the text inside goes to the right. I try online (real server and local server, i tried both) but nothing happens, the elements of the form stay on the left. I tried to apply the rul to the ID of the form. Nothing.
    Probably i'm doing something wrong. Even with text and tables inside the form, i can't move/modify them, at all. In design view i see all the changes, online i can't (chrome and IE). What do i have to do?
    2) I'm creating a page to insert long text in a database, like when you post in a forum. I'd like to insert a sort of toolbar with the align options, style, and so on, like the WYSIWYG editors. Is it possibile? Is there a way to put a toolbar like that in DWCS6?
    Thanks

    #1 You're not styling the correct form selectors: form, fieldset, lable label, input, textarea...
    See example of a CSS styled HTML5 form. View source to see the code.
    HTML5 Form with jQuery Validation
    #2 Look at CK Editor.
    CKEditor.com | The best web text editor for everyone
    Nancy O.

  • Changing Tab colors in a flash form

    I am trying to change the tab color inside a form... I can
    change the highlighted color but I can't change the ones that are
    not selected...
    I have tried using fillColors:##343434, ##FFFFFF and It works
    for the selected tab, but the others tab have the default color on
    it... how can I change that color?

    Hi Ahsan-chohan,
    Kindly post this query in Acrobat forums:Acrobat
    Regards,
    Florence

Maybe you are looking for