0
我在VFP9中有一個表單,它在init事件中動態創建文本框控件。我在這個表單上有一個按鈕,其功能是獲取數組中的文本框值。我試過了:從多個文本框中獲取值
` FOR i=1 TO thisform.Objects.count
IF UPPER(thisform.Objects(i).Name) == "TEXTBOX"
k=k+1
r(k) = thisform.Objects(i).name.value && here is the problem
ENDIF
ENDFOR `
但我不知道如何引用文本框屬性。提前致謝。
,而不是價值。 –
哦,好吧,將.name改爲.text,我認爲你會很好。 – Swordblaster