關於 ICS 套件中 EmulVT 元件的問題 |
尚未結案
|
xie
一般會員 發表:3 回覆:1 積分:0 註冊:2004-03-13 發送簡訊給我 |
ICS(Internet Component Suite)是一位比利時人所提供的免費
VCL 套件,此套件相關網址為:
http://www.overbyte.be/eng/products/ics.html 其中內含一個 EmulVT 元件,對於終端機模擬程式的撰寫幫助很
大,日前在此元件的使用上發現一個問題(如下文所述),希望
熟稔 VCL 元件撰寫的高手能提供解決之道。
--------------------------------------------------------------
In BCB, I put two EmulVT objects, EmulVT1 and EmulVT2, on a form.
It is unexpected that the caret in EmulVT2 always moves while
many lines of texts are concurrently displayed one by one in
EmulVT1.
Does anyone know the way to solve this problem? For example, add a Timer and the fowllowing codes first.
When run the program and click EmulVT2 soon, the problem is
shown. Thank in advance for any help. __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner)
{
EmulVT1->WriteStr("\x1B[2J\x1B[?7h");
EmulVT2->WriteStr("\x1B[2J\x1B[?7h");
}
//-------------------------------------------------------
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
EmulVT1->WriteStr("ABC "); // Set Interval = 10 ms
}
//-------------------------------------------------------
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |