Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with items

Status
Not open for further replies.

LimonaM

Programmer
Oct 27, 2004
50
0
0
SI
I have one item on my form, which is presented 15 times. How can i change color of just one item?

Example:

table users:

users
------
a
b
c
d
e
f

Now i want to change the color of d - how?
I used set_item_property, but then the color of all those items is changed!
 
I want to change just one item not row. In my example i showed just one item in row, but i have many. I need to change just one item
 
You may change visual attribute of item instance by set_item_instance_property
 
Create a visual attribute with the colour and font of your choice, then set an item with SET_ITEM_INSTANCE_PROPERTY(<item>,<record number>,VISUAL_ATTRIBUTE,<va name>).

<record number> can be the constant CURRENT_RECORD.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top