View Single Post
  #6  
Old 01-09-2006, 03:44 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
This should work:
PHP Code:
function Button_2.onAction() {
  
player.chat "Started Event: " List_1.text;
  
Main_Window.destroy();

You must get the text first, before you destroy the window and its subcontrols. "text" and "getSelectedTex()" should give the same values, "getSelectedText()" is mainly for backwards compatibility. If you still don't get the text, then "List_1" is eventually not the correct name of the popup control.
Reply With Quote