Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll Bars in an Edit Box control do not work....
Message
From
13/02/2004 14:58:13
Lamar Glover
Southeastern Apparel, Inc.
Dothan, Alabama, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00873505
Message ID:
00877245
Views:
12
Fred,
Thanks again for your assistance. I finally figured out what I was doing wrong.

In my button.click() I had the following:

build string to place in edit control
editcontrol.value = string
editcontrol.refresh() (probably not necessary but I was desperate)
enable page 2 (disabled until button clicked)
page2.setfocus()

This worked first time but never after.

I replaced page2.setfocus() with pageframe.activepage = 2 and it worked.
Learn something every day I guess.

Thanks again.


>Sorry, I just don't see that in either VFP7/SP1 or in VFP8/SP1. I created a form with 2 pages, and on the second page I put a read-only EditBox. On Page 1 I put a button that adds text to the EditBox on Page 2. I can switch back and forth between the pages and add text and I see the scrollbars on the EditBox just fine. Is this a custom class EditBox and maybe you have some code somewhere that's affecting it? How are you putting the value to the EditBox?
>
>Are you absolutely sure your running SP1 in the development environment? You should see: Visual FoxPro 07.00.0000.9465 for Windows when you do "? VERSION()" from the Command Window or choose "Help\About..." from the menu.
>
>
Lamar Glover
DP Manager, Southeastern Apparel, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform