[Openroad-users] On properties question

Sean Thrower Sean.Thrower at ingres.com
Tue Apr 1 20:31:19 EST 2008


Allan,

 

You could use Kim Ginnerup's special sauce:  in the ON PROPERTIES event
code post a userevent with focusbehavior set to FT_SETVALUE - this
forces the value to be set and any setvalue events to run (after the
properties event has completed, however).  As I recall, the userevent
doesn't even need to exist!

 

Regards,

Sean.

 

ON PROPERTIES =

BEGIN

CurFrame.SendUserEvent('kimfix', FocusBehavior=FT_SETVALUE);

.... your code ....

END;

 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of
Ian.Utley at luminary.co.uk
Sent: Tuesday, April 01, 2008 11:21 AM
To: openroad-users at peerlessit.com
Subject: Re: [Openroad-users] On properties question

 

Hi Allen,

 

    If you want to know the contents of the text field you could
directly query the fields TextValue. You could then explicitly set the
underlying value to the value displayed within the field; however
right-clicking on a field isn't usually associated with setting that
field's value and you could be missing out any standard processing that
you would have in a ON VALIDATE event for instance.

 

   Are you sure this is want you want to do?

 

Ian.

 

Ian Utley

Luminary - An Ingres Company

Tel: +44 (0)845 371 40 90

Email: Ian.Utley at luminary.co.uk <mailto:Ian.Utley at luminary.co.uk> 

 

For more information on Luminary go to http://www.luminary.co.uk
<http://www.luminary.co.uk> 

Luminary Solutions Limited Registered in England No 4854134 VAT Reg No.
829 3166 13

Registered Office: 16-17 Pavilion Business Park, Royds Hall Road, Leeds
LS12 6AJ

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Allan Biggs
Sent: 01 April 2008 10:46
To: International OpenROAD Users
Subject: [Openroad-users] On properties question

 


I don't use 'on properties'  very frequently and have never come across
this behaviour before. 

I have noticed if I type some characters into a field and right click;
the value of the field is not the characters I have just typed but the
previous value of the field. 
Moving to another field  or clicking a button 'fixes' the value.   

Is there a way of 'fixing' the value after right clicking? 

I should have paid more attention in the OR courses !!! 

thanks Allan

 
This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.
 
Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean
 
           http://www.DuPont.com/corp/email_disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20080401/e5f67fe0/attachment.html 


More information about the Openroad-users mailing list