control array itu sama dg array biasa, jadi kalau option base nya 0, u. array seratus buah button object ini berarti indexnya adalah 0-99 bukan 1-100, kecuali mas pake option base 1. atau kita bisa menggunakan fungsi lbound dan ubound seperti berikut:
for i=lbound(objButtonArray) to ubound(objButtonArray)
idea: u. mengetahui objectnya udah diload belum, gimana kalo pake fungsi is Nothing?
if not objButtonArray(i) is nothing then ....
regards
[purwedi kurniawan]
On 11/11/05, Eldi Munggaran <[EMAIL PROTECTED]> wrote:
err...., muncul error katanya : control array element xxx doesn't exist,
xxx = nomor arraynya.
Hendikin Ferrar wrote:
> Gunakan funtion is object
>
> for i=1 to 100
> if isobject( button(i)) then unload button(i)
> end if
>
Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]
YAHOO! GROUPS LINKS
- Visit your group "Programmer-VB" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
