harish_tyagi
asked on
How to set visual attribute of a check box
My Problem is
I hv one multi record block . check boxes are also there for all the records in a multi record block. Check boxes r also the part of multi record block. I m setting the update , insert and visual attribute property of some check boxes depending on some condition thru set_item_instance_Property . Well im thru for update and insert property but im not thru for setting the visual attribute. I want to set the background and foreground color of check box as gray but its alsways white.
suggest some way out
I hv one multi record block . check boxes are also there for all the records in a multi record block. Check boxes r also the part of multi record block. I m setting the update , insert and visual attribute property of some check boxes depending on some condition thru set_item_instance_Property
suggest some way out
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please update and finalize this old, open question. Please:
1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.
EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.
Thanks to all,
Moondancer - EE Moderator
P.S. Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.
EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.
Thanks to all,
Moondancer - EE Moderator
P.S. Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
Force accepted
** Mindphaser - Community Support Moderator **
** Mindphaser - Community Support Moderator **
it_id Item;
BEGIN
it_id := Find_Item('CONTROL.CHECK_B
Set_Item_INSTANCE_Property
END;
Here 1 is the number of the current record and TEXT_ITEM is the name of a visual attribute where you define the foreground and background color.
You can use the system variable to figure out the number of the current record.
SYSTEM.CURSOR_RECORD represents the number of the record where the cursor is located. This number represents the record's current physical order in the block's list of records. The value is always a character string.
So use TO_NUMBER(:SYSTEM.CURSOR_R