Dynamic Push of a Button.....Help? [message #164594] |
Fri, 24 March 2006 03:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
ramisy2k
Messages: 150 Registered: April 2005
|
Senior Member |
|
|
Hello,
I am trying to achive something that is I believe possible in some way but unable to figure out how, as yet..
I am sure some Gurus here would have solution for it..
I have a Push Button and on WHEN-BUTTON-PRESSED trigger, I decrease the value of an item from the previous value by one i.e. :ITEM_A_VALUE - 1
So on each seperate push of the button te value is decreased one by one
For example the value in item is 2000
so, 2000 - 1 ====> one first push of the button
1999 - 1 ====> one 2nd push of the button
1998 - 1 ====> one 3rd push of the button
1997 - 1 ====> one 4th push of the button
1996 - 1 ====> one 5th push of the button
and so on..
my problem is that, to reduce the value to 5 points, I have to press the button five times. this is not what i want. I want a dynamic functionality..I want to push the button once and while holidng the left mouse button (when-mouse-down) i want the values to reduce one by one automitically as soon as i keep the left mouse button down (or pushed).
can this be achaived in Forms 6i
does any kind of timer is needed here??
I would appreciate if some one helps me to do this...
best wishes
regards
Asim.
|
|
|
|
|