Hello everyone,
I am using a touch screen monitor. The form which I am using is a list form. I would like to change the color of the specific record on which user touches.
I have tried the combination of OnFormat() Trigger of the Textbox control and OnAfterGetCurrRec() trigger for working out the same.
But every record of the list gets changed to the specified color.
My mind is stuck ](*,) on searching out a possible way for this.
Advance greetings for everyone who can suggest me how to on this.
Thanks.
Dilip
Falling down is not a defeat..defeat is when you refuse to get up.
0
Comments
viewtopic.php?f=23&t=48397&start=0
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks for the reply.
But OnActive Trigger gets called for every record when form is run and hence again all records are in color=255 (If I am not wrong)
Falling down is not a defeat..defeat is when you refuse to get up.
Again this would set all the records with some color. My exact doubt of point is, what is the exact trigger where system fires at the time of touching a specific record.
For example,
Step 1: I will run a list form, which would show all the records with
Back Color = Blue
Fore Color = White
Step 2: Now user clicks on particular record and do some action by clicking on the funtions Menu button. So when the user clicks on particular record by touching the screen for doing the action, that record only should change to
Back Color = Blue
Fore Color = Red
Hope I tried to make my scenario a bit detailed.
Thanks.
Falling down is not a defeat..defeat is when you refuse to get up.
No it will exicute when you do focus to that control.
Exacty. That is why you use the function to set the color value based on the current record and/or form variables. If you don't want a color change then just exit with ZERO from the function. My common practice is to put this function on the form's main table.
Now I could better explain here my problem where I am actually stuck. I am unable to decide when to return color and when (0) in the function since no trigger executes just on a click of the record except OnActivate Trigger.
But OnActivate trigger also doesnt work since it activates at the Form run which in my case should not happen.
I am trying it out still, I way found I would mention the same here.
But would also look for some suggestions which could help me out here.
Thank u all
Falling down is not a defeat..defeat is when you refuse to get up.