I am trying to get a simple dialog (from py scripts) with several
user inputs. As shown in sampledialog.py, this works
fine when a "List" is involved i.e. multiple selections to choose
from. To get the user to type in an answer in
a text field, I couldnt find an available function.
1) Tried llTextBox from LSL, but that doesnt seem to be recognized.
i.e.
self.llTextBox(vAvatar.AgentId,"Write something here...",1)
2) Tried adding button function from windows forms using IronPython
scripting but that didnt work either. i.e.
import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import *
-------------------------
------------------------
msgButton = Button(Text='Message', Left =20, Top=20)
msgButton.Click += self.OnMsgButtonClick
self.Controls.Add(msgButton)
-----------------------------------------
what am i doing wrong? has somebody tried anything similar?
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/realxtend
http://www.realxtend.org
-~----------~----~----~----~------~----~------~--~---