PHP Doku:: Create a new button - function.newt-button.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzEingabezeilenspezifische ErweiterungenNewtNewt Funktionennewt_button

Ein Service von Reinhard Neidl - Webprogrammierung.

Newt Funktionen

<<newt_button_bar

newt_centered_window>>

newt_button

(PECL newt >= 0.1)

newt_buttonCreate a new button

Beschreibung

resource newt_button ( int $left , int $top , string $text )

Creates a new button.

Parameter-Liste

left

X-coordinate of the button.

top

Y-coordinate of the button.

text

The text which should be displayed in the button.

Rückgabewerte

Returns a resource link to the created button component, or FALSE on error.

Beispiele

Beispiel #1 A newt_button() example

<?php

$form 
newt_form();

$ok_button newt_button(512"Run Tool");
    
newt_form_add_component($form$ok_button);

?>

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)