Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Void double 'ENTER' on editbox
Message
From
19/11/2008 10:04:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/11/2008 09:10:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01362796
Message ID:
01362812
Views:
14
>Hi
>I have 'edit box' that most of the times need to behave as regular 'editbox'.
>
>Sometimes I need the editbox content for report on specific place that I can use till 2 rows and max lenght of 100 charcter per line.
>In this case I think to follow on user typing (or on 'save' if the first option impossible) and to void illegal typing.
>
>Thanks

In .interactiveChange() you can always check for .value and see whether it conforms to your specifications. You can use aLines(), or mline() with set memowith 100, to chop it into lines, do whatever you think, and then change .value the way you like it and also set focus to next control.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform