|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-09-12 06:00 UTC] michael@php.net
[2015-09-12 06:01 UTC] michael@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: michael
[2015-09-12 06:01 UTC] michael@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 12:00:02 2025 UTC |
Description: ------------ Expectations after the runing this code ,the result is test3... default Settings for the current item(The default is test1...), but the result remains is test1...... Test script: --------------- dl('newt.so'); newt_init(); newt_cls(); newt_centered_window(60, 17, "Authentication Configuration"); $form = newt_form(); $checktree = newt_checkbox_tree_multi(2,2,10,' ab',NEWT_FLAG_SCROLL); newt_checkbox_tree_add_item($checktree, 'test1......', 1, 0,NEWT_ARG_APPEND, NEWT_ARG_LAST); newt_checkbox_tree_add_item($checktree, 'test2......', 2, 0,NEWT_ARG_APPEND, NEWT_ARG_LAST); newt_checkbox_tree_add_item($checktree, 'test3......', 3, NEWT_FLAG_SELECTED,NEWT_ARG_APPEND, NEWT_ARG_LAST); newt_checkbox_tree_set_current($checktree,2); newt_form_add_component($form, $checktree); newt_run_form($form); Expected result: ---------------- Expectations after the runing this code ,the result is test3... default Settings for the current item(The default is test1...) Actual result: -------------- after the runing this code the result remains is test1......