Quantcast
Channel: Сообщество PHP DevelStudio - среда разработки программ
Viewing all articles
Browse latest Browse all 6336

Обращение к элементу другой формы!

$
0
0
Приветствую! Суть вопроса:
есть форма (создается динамически)
PHP код:

 $newForm = new TForm;
 
$newForm->name "Table".$nf

на ней есть элемент

PHP код:

$edit_shapka =  new TMemo();
 
$edit_shapka->parent c("Table".$nf);
$edit_shapka->name "ed_str".$str."st".$col;
$edit_shapka->text "текст"

пытаюсь обратиться из другой формы
PHP код:

$ff1 "Table".$nf;
$ff2 "ed_str".$str."st".$col;
$ff =c($ff1-> $ff2)->text;
pre($ff); 

получаю "Component "Table0->ed_str1st4" not found for get "text" property"?

Viewing all articles
Browse latest Browse all 6336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>