PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

newt_get_screen_size> <newt_form_watch_fd
Last updated: Fri, 10 Oct 2008

view this page in

newt_form

(PECL newt:0.1-1.1)

newt_formフォームを作成する

説明

resource newt_form ([ resource $vert_bar [, string $help [, int $flags ]]] )

新しいフォームを作成します。

パラメータ

vert_bar

フォームに関連付けられる垂直スクロールバー。

help

ヘルプ文字列。

flags

さまざまなフラグ。

返り値

作成されたフォームコンポーネントのリソースリンク、 あるいはエラー時に FALSE を返します。

例1 newt_form() の例

"Quit" ボタンを表示し、それが押されるとアプリケーションを 終了させます。

<?php
newt_init
();
newt_cls();

$myform newt_form();
$button newt_button (512"Quit");

newt_form_add_component ($myform$button);
newt_refresh ();
newt_run_form ($myform);

newt_finished ();
newt_form_destroy ($myform);
?>



add a note add a note User Contributed Notes
newt_form
There are no user contributed notes for this page.

newt_get_screen_size> <newt_form_watch_fd
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites