Hi friends
I have a grid which shows data abt user Tasks.
It displays completed and uncompleted Tasks.to show difference between them i change dynamic color of completed tasks like following...
Thisform.grid.SetAll("dynamicbackcolor","IIF(completed='Yes', RGB(192,255,192), RGB(255,255,255))", "Column"
so it is very easy to differentiate between completed and uncompleted tasks.
But i have new requirement came up i.e Merging Tasks
it means if they r 3 tasks (say 1,2,3) and 1,2 can b merged
into 3 .so there will b only one Task (i.e 3)
but the thing is when user selects a record for Merging i need to change its background color so its easy for user which tasks are tagged for Merging.
what i am doing is when user tags a record(pressing specebar) i am updating cursor with a value(grid bound to a cursor) and issuing following code
Thisform.grid.SetAll("dynamicbackcolor","IIF(cursearchtask.tagrecord =1, RGB(224,224,0),RGB(255,255,255))", "Column"
the problem with this is my previous setting for completed tasks are gone.
How can i keep my existing dynamic color and still b able
to add new color based on different criteria.
I appreciate ur Ideas
Thank you very much
I have a grid which shows data abt user Tasks.
It displays completed and uncompleted Tasks.to show difference between them i change dynamic color of completed tasks like following...
Thisform.grid.SetAll("dynamicbackcolor","IIF(completed='Yes', RGB(192,255,192), RGB(255,255,255))", "Column"
so it is very easy to differentiate between completed and uncompleted tasks.
But i have new requirement came up i.e Merging Tasks
it means if they r 3 tasks (say 1,2,3) and 1,2 can b merged
into 3 .so there will b only one Task (i.e 3)
but the thing is when user selects a record for Merging i need to change its background color so its easy for user which tasks are tagged for Merging.
what i am doing is when user tags a record(pressing specebar) i am updating cursor with a value(grid bound to a cursor) and issuing following code
Thisform.grid.SetAll("dynamicbackcolor","IIF(cursearchtask.tagrecord =1, RGB(224,224,0),RGB(255,255,255))", "Column"
the problem with this is my previous setting for completed tasks are gone.
How can i keep my existing dynamic color and still b able
to add new color based on different criteria.
I appreciate ur Ideas
Thank you very much