Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto scroll for edit box?
Message
De
01/07/1999 15:59:24
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00235976
Message ID:
00236667
Vues:
26
Kamal,

Thanks. It works just like I want it to!

Here's another problem related to the same application that maybe you can help me with. I'm also posting it as a new message:

I have a form with START and STOP buttons. Processing is performed in a Do While loop in the Click() method of the START button. I'd like the STOP button to respond immediately to the user's click (it's a graphic radio button) with a "please wait message" and processing to terminate at the next safe opportunity. The problem is, while the processing is going on the form is not responding to input. I'm currently using an INKEY() within the processing loop to check the keyboard but it's sort of a kludge and there is no immediate feedback to the user to let him or her know the request has been acknowledged. Is there a nicer approach for allowing a button to interrupt a process? (I have to keep VFP5 and VFP6 compatibility.)

Thanks again,
Allen



>
EditBox.SelStart = LEN(EditBox.Value)
>
>>I have an edit box with a vertical scroll bar on a form (VFP5 and VFP6). I use the box to keep track of an ongoing process by adding additional text to its value:
>>
>>ThisForm.status.Value=oldtext+newtext+chr(13)
>>ThisForm.Refresh
>>
>>However, when the text length exceeds the box size I cannot see the new additions unless I manually scroll. Is there a way to make the text box scroll automatically so the newest text is always displayed?
>>
>>Thanks in advance,
>>Allen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform