Ingres Community Forums Login Register Ingres.com  

Ingres Community Forum


Go Back   Ingres Community Forums > Ingres Forums > OpenROAD Developer's Forum
 

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-11-07   #1 (permalink)
Member
 
Join Date: Mar 2007
Posts: 37
Default Event for changing attributes

I'm looking for an event to realize if an field-attribute changes. For example i want to find out if a fieldbias of a button changes from FB_INVISIBLE to FB_LANDABLE.

Mich@el
mluerken is offline   Reply With Quote
Old 2008-11-07   #2 (permalink)
Ingres Corp
 
Join Date: Mar 2007
Location: On the OpenROAD
Posts: 462
Default

There is no such an event (though you can send a userevent in the code after you change the bias).

If you just want to know it for debugging purposes you can use the watchpoint feature of the OR2006 debugger, so you can activate the debugger when the value of an exprssion (variable) changes (either for any change or to a specific value).
Bodo is offline   Reply With Quote
Old 2008-11-07   #3 (permalink)
Member
 
Join Date: Mar 2007
Posts: 37
Default Event for changing attibutes

That was my first idea: calling a procedure or an userevent. But if i have to change attribute very often in our source code, i have to place the codeline after each changing. Having an "attribue-changed-event" will reduce code.
Perhaps i will give this wish to the service desk.

Thank's for your answer.

Mich@el
mluerken is offline   Reply With Quote
Old 2008-11-14   #4 (permalink)
Member
 
Join Date: Mar 2007
Posts: 35
Default Getter/Setter method/events

I'd like to see the same thing in OpenROAD as well. The ability to have either getter/setter methods on user class attributes and/or the ability to have 'on changed' events for attributes.

This actually came from two different requirements, which both came out of wanting to change existing functionality without having to change too much existing code.

1. Being able to take new action when an attribute is changed on a userclass object, without having to re-code existing logic into a method call.

2. As with yourself, being able to code 'generic' Bias changed events into include scripts which would be able to handle application wide changes in Look & Feel.

These features would help in Application re factoring I think.
pete.rabjohns@atex.com is offline   Reply With Quote

Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2009 Ingres Corporation. All Rights Reserved