Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help w/ Displaying Strings in a Form
Message
From
31/05/2007 17:36:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
31/05/2007 17:32:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Miscellaneous
Thread ID:
01229697
Message ID:
01229698
Views:
8
>Basically I'm writing a program that listens to a comm port and displays what is being recieved on to the form.
>
>How would I go about doing this? I'm new to foxpro and was wondering where I would start. Basically I know how to send iformation to a LABEL by doing this..
>
>thisform.LABEL.caption = commPortRecieved
>
>But what if I wanted to display the information in a edit box? or something like an edit box? can someone please give this noob some insight on how to do this w/out using a LABEL. Because I want to fill out the text box as its listening and I dont think a label will be appropriate for this.

For an EditBox or a TextBox, you would change the .Value property.
ThisForm.TxtResult.Value = commPortReceived
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform