Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTRL+C fireing keypress PAGEUP/PAGEDOWN
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00822938
Message ID:
00822950
Views:
16
For get it - the clipboard just passed my last copy or paste to the textbox!



>CTRL+V pastes whatever is in the text clipboard. You'll have to figure out how "DEFINE CLASS SUBTEXTBOX" gets there.
>
>Once the control key was deneurolized, CRTL+V pasted the last "copy" to the text box.
>
>Try this in 6 or 7. Past the code to a blank program. Click the run button and then press [CTRL]+[V]!
>
>*CV.PRG
>ofoo=createobject('subfoo')
>ofoo.show
>read events
>cancel
>
>define class subfoo as form
>add object txtBox1 as subTextBox
>procedure queryunload
>clear events
>endproc
>enddef
>
>
>define class subTextBox as TextBox
>top =20
>width =200
>format="R"
>enddefine
>* end CV
>
>Sometimes the add object line gets in there - sometime the define class subfoo does.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform