0
我有一個簡單的表單,我在Flash中創建並設置它,以便您可以從一個字段選項卡到另一個字段。問題是當我選擇其中一個字段時,多行文本框,它從該字段的第二行開始。如果我點擊文本框,它會進入第一行。as3 tabbing到下一個表單字段從第二行開始
任何想法如何我可以解決這個問題?
的代碼非常簡單:
_styleLibForm.tabChildren = TRUE;
_styleLibForm.first_name.tabIndex = 1;
_styleLibForm.first_name.tabEnabled = true;
_styleLibForm.first_name.focusRect = true;
_styleLibForm.city.tabIndex = 2;
_styleLibForm.city.tabEnabled = true;
_styleLibForm.city.focusRect = true;
_styleLibForm.description.tabIndex = 3;
_styleLibForm.description.tabEnabled = true;
_styleLibForm.description.focusRect = true;
_styleLibForm.email.tabIndex = 4;
_styleLibForm.email.tabEnabled = true;
_styleLibForm.email.focusRect = true;
我遇到的問題不在於它沒有選項卡,它只是在錯誤的選項卡到多行字段時出錯。而不是從文本框的第一行開始,它從第2行開始。 – pfunc 2011-01-22 17:01:22