PDA

View Full Version : File_Field_Option_Changed



phvwijk
16-Jun-2010, 08:02 PM
Hi,

I get this messages as invalid message. It is send to a cdbCJGrid but not defined there.

Peter

Knut Sparhell
17-Jun-2010, 05:24 AM
File_Field_Option_Changed is no predefined message (should it be an event?) in any VDF classes, as far as I can see. Why do you expect it to be valid for cdbCJGrid?

There is a File_Field_Option message for DataDictionary.

phvwijk
17-Jun-2010, 06:05 AM
Knut,

The file_field_option_changed is send from the dd class to all the data entry objects attached to a field (check Data_Set_User_Interface_Count and Data_Set_User_Interface) to allow dynamic changes of the field options. It is defined in dd_deomx.pkg which is not part of the mixin classes of the cdbCJGrid.

So if you want to change dynamically field options you will need it.

Peter

Knut Sparhell
17-Jun-2010, 06:29 AM
I see. I DO need dynamic changing of options, presumably also in new grids. I change options during OnNewCurrentRecord in my view DDOs.

And then I guess all data entry classes need this interface to work as expected.

phvwijk
17-Jun-2010, 06:54 AM
I see. I DO need dynamic changing of options, presumably also in new grids.

Me too.


And then I guess all data entry classes need this interface to work as expected.

Yes, I do not think it is often used. But it needs to be there.


Peter

John Tuohy
17-Jun-2010, 12:27 PM
We missed that one. Thanks,

-John