Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting ScrollBar programmatically in EditBox
Message
 
To
01/11/2000 20:57:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00436982
Message ID:
00436999
Views:
20
If you can programatically get a editbox.setfocus or editbox.click, you might try KEYBOARD '{DNARROW}' or sumpin.
>I've got EditBox which is readonly and not bound to any table field. When VCR button is pressed it is updated with the new content via
>
>thisform.pageframe1.page2.text = "long multiline memo field"+ "something else "
>
>The problem is that if we scrolled down for previous record the current editbox content looks empty and needs scrolling up to see a value which is quite confusing for the users.
>
>Something like
>thisform.pageframe1.page2.text.refresh()
>thisform.pageframe1.page2.text.setfocus()
>after assignment
>or
>.Readonly=.f.
>
>don't make any difference.
>
>Would it be possible to see the editbox content immediately regardless of previous record scrolling or in other words to update scroll bar position programmatically.
>
>Thank you.
>Michael
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform