Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress and the Tab Key
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00729134
Message ID:
00729135
Views:
15
I did not understand well, but "allowtabs" propertie in your Edit control can help you?

--------------------------------------
>I have an editbox in which the users are used to using the tab key and in days long gone (at least for now), that tab key would actually insert tabs (go figure)
>
>Now because as we take the reports entered in these editboxes, and move them to the web...and the web side had great difficulty with the tabs in the text (different expression of how wide a tab is
>and perhaps a different understanding of tab-stops),
>my editboxes now give me 3 blank spaces instead of tabs, and my tab-stops have become a thing of the past...at least for now....
>Now when the user hits the tab key I drop in 3 spaces instead.
>
>I'm not sure if I'm doing this right and would like your advise.
>Now I'm trapping the tab key, by using the editbox KeyPress Event.
>I think I'm doing it wrong tho....
>Right now I'm doing a
>KEYBOARD '{BACKSPACE}' && remove the tab just typed
>KEYBOARD ' ' && replace it with 3 spaces
>
>I'm still having text formatting issues, but now they're on my side not the WEB side. Sometimes the text, separated by tab key inserted spaces, does not remain in it's place, after being saved into the memo field associated with the editbox.
>
>Any ideas?
>How would you do this tab replacement?
>(changing the web side to handle tabs is out for now)
>
>BTW - any idea as to how I can simulate the TAB STOP behavior?
>---------------------------------------
Dominican Republic, a Paradise in America
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform