Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vcx to available prg
Message
From
03/01/2016 04:17:25
 
 
To
02/01/2016 18:27:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VirtualPC
Miscellaneous
Thread ID:
01629513
Message ID:
01629541
Views:
149
>maybe i dont understand well your question relative to the ARG scrolling container:
>-the container scrollbars (V and H) are very fast manually.
>-it can be coded programmatly externally to scroll some distance in pixels for ex .
>
>*add this procedure to the main prg
>*can here with upArrow and DownArrow make the container scrolls automatically with a wanted value to set.
>*add
>
keypreview=.t. &&to definition form class at top code
>
>
>PROCEDURE KEYPRESS
>LPARAMETERS nKeyCode, nShiftAltCtrl
>local m.n
>m.n=300  &&to set here the wanted value
>if nkeycode=5  &&up arrow
>For i=1 To m.n
>thisform.sbscrollcontainer1.scrollbarvertical1.Scrollendup1.Sbshape4.Click
>Endfor
>endi

Hi,
I am sorry, this code does not work, I suppose it is meant for an other class than the ARG SBcont.VCX. There are no such properties like scrollbarvertical1.scrollendup1 in this class.
The position of the __vscrollbar container are monitored differently.
Regards,
Koen

>
>if nkeycode=24  &&down arrow
>For i=1 To m.n
>thisform.sbscrollcontainer1.scrollbarvertical1.Scrollenddown1.Sbshape4.Click
>endfor
>endi
>endproc
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform