Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EditBox
Message
 
To
05/07/2010 14:19:17
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01471428
Message ID:
01471441
Views:
46
>>Hi Gang!
>>
>>I am using an EditBox to show output during a Store End-of-Day Routine.... as processing goes along, I send text to the EditBox showing what is going on.
>>
>>I tried this first...
>>
>>The editbox is named edtmessage2.
>>
>>thisform.edtmessage2.value = thisform.edtmessage2.value + CHR(13) + CHR(13) + 'Creating Inventory Sales for Next Month'
>>
>>to put outut to the editbox.
>>
>>This will be repeated, with different info at the end of the line to tell what is happening.
>>
>>I was wanting it scroll upwards when the editbox gets full... allways scrolling up when more info is added.
>>
>>But when it runs, any new info is added, but the editbox does not scroll upwards.. just stays the same at that point.
>>
>>What may I be overlooking to achieve this?
>
>This.SelStart = LEN(This.Value)
>
>Tamar

Yeah, I used that.... here is the result that works....
thisform.edtmessage2.value = thisform.edtmessage2.value + CHR(13) + CHR(10) + "Auto posting all rx's filled in pharmacy to register sales"
thisform.edtmessage2.SelStart = LEN(Thisform.edtmessage2.Value)
thisform.edtmessage2.Refresh
Thanks!
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform