Home » Developer & Programmer » Forms » Current_Row_White_On_Black
Current_Row_White_On_Black [message #336524] Mon, 28 July 2008 00:53 Go to next message
alammas
Messages: 46
Registered: July 2008
Member
HI,
I Try to make highlighted row by using this code:
DECLARE
SEARCH_BLK BLOCK;
BEGIN
SEARCH_BLK:=FIND_BLOCK('ACCTYPEVW');
SET_BLOCK_PROPERTY(BLK,Current_Row_White_On_Black,property_TRUE);
END;
But it not work?
Can some one help me!
Re: Current_Row_White_On_Black [message #336538 is a reply to message #336524] Mon, 28 July 2008 01:29 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Search the board for examples of SET_ITEM_INSTANCE_PROPERTY; you'll need to modify property for each item itself, as it can not be done for the whole record.

There's been an example last week (if I remember well), but I'm certain that you'll find quite a few of them using the Search facility.
Re: Current_Row_White_On_Black [message #336626 is a reply to message #336524] Mon, 28 July 2008 07:41 Go to previous message
dillango
Messages: 145
Registered: January 2008
Senior Member
As Littlefoot said, use set_item_instance_property for each item.

Create two visual attribute and create the following code in
Post-text-item and when-new-item-instance trigger

set_item_instance_property(:system.cursor_item, current_record, visual_attribute, 'Visual attribute name');
Previous Topic: validation of item by comparing with another item of previous record in a multirecord block
Next Topic: Save confirmation
Goto Forum:
  


Current Time: Thu Feb 13 22:24:14 CST 2025