DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: How can I change the color?

  1. #1
    Join Date
    Feb 2003
    Location
    Pak
    Posts
    64

    How can I change the color?

    Hello

    I am using Forms 6i on Windows 2000.

    I have a detail block on the form.

    Following items are in this block:
    1. Student ID (Text Item)
    2. Student Name (Text Item)
    3. Status (Text Item)
    4. and Yes/No (Check Box)

    and the number of items displayed are 5.

    Records are in the block, and the value in the status text item is 'Yes'. The foreground color of the status text items is "Black".

    I want, when i check the "Yes/No" check box against any record, the status should become 'No' and the foreground color of the status against that record should be "Red". All the "No" values in ths staus(Text Item) should be in "Red" color and the "Yes" values should be "Black".

    What i have done. when i change the foreground porperty at the run time using SET_ITEM_PROPERTY procedure and set the foregrond color to "Red" for the specific record, it changes the foreground color of all the Status items (full column).

    What should i do?

    Thanks
    Namet ullah kalair

  2. #2
    Join Date
    Jul 2001
    Posts
    334
    Hi,
    The reason, all the items belongs to the same block. so when you change the property of one item it change the color for all.

  3. #3
    Join Date
    May 2002
    Posts
    2,645
    Originally posted by aph
    Hi,
    The reason, all the items belongs to the same block. so when you change the property of one item it change the color for all.
    Not true

    See page 396-7 Forms Builder Reference volume I

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width