Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spiner control is responding slow
Message
From
03/12/2004 13:50:55
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 5
OS:
Windows NT
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00966729
Message ID:
00966790
Views:
7
>I have a spinner control on a form and when I use the up and down arrows the spinner increments slowly...
>How can I get it to increment faster?
>
>TIA,
>Rick

Put this into Spinner mouseDown
( change the activate side margin, thi is a raw code )
* MouseDown
LPARAMETERS nButton, nShift, nXCoord, nYCoord
IF BETWEEN(m.nXCoord-OBJTOCLIENT(m.this,2)-m.This.width,-16,-3)
  DO CASE
  CASE BETWEEN(m.nYCoord-OBJTOCLIENT(m.this,1),2,this.Height/2)
      DO WHILE MDOWN()
          KEYBOARD '{UPARROW}' PLAIN
	      DOEVENTS
      ENDDO
   CASE BETWEEN(m.nYCoord-OBJTOCLIENT(m.this,1),this.Height/2,this.Height-2)
       DO WHILE MDOWN()
          KEYBOARD '{DNARROW}' PLAIN
	      DOEVENTS
      ENDDO
   ENDCASE
ENDIF
Can to be sufficient ?
Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform