MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2008-03-16, 01:56   #1 (permalink)
Portal User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default I wanna just a TEXTBOX. Help plz.

I can't find any reply to this topics:
1) Textbox? - Textbox?
2) Editable Textbox? - Editable Textbox?
3) Which Control can I use as a Input-TextBox? - Which Control can I use as a Input-TextBox?

No tutorial, no answers....

Please, spare me a minute, and answer - how i can use an Editable Multiline TextBox??
I can see two buttons, but no textbox.
Only if i add this string to button_click - text appears, but i can't edit it.
Code:
GUIControl.ShowControl(GetID, txtbox.GetID);

C# code:

Code:
public class MyClass : GUIWindow, ISetupForm
{
		
	[SkinControlAttribute(2)] protected GUIButtonControl buttonOne=null;
    	[SkinControlAttribute(3)] protected GUITextControl txtbox=null;
	[SkinControlAttribute(4)] protected GUIButtonControl buttonTwo=null;

.....
XML:

Code:
<control>
      <description>Text</description>
      <type>textbox</type>
      <id>3</id>
      <posX>380</posX>
      <posY>200</posY>
      <visible>yes</visible>
      <width>930</width>
      <height>450</height>
      <font>font11</font>
</control>
yolf is offline   Reply With Quote
Old 2008-03-16, 14:47   #2 (permalink)
Portal User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Where are developers? I'm really need this textbox.
yolf is offline   Reply With Quote
Old 2008-03-17, 07:01   #3 (permalink)
Portal Member
 
moiristo's Avatar
 
Join Date: Nov 2006
Location: Enschede
Posts: 283
Thanks: 6
Thanked 14 Times in 10 Posts

Country:

My System

Send a message via ICQ to moiristo Send a message via MSN to moiristo
Default

I don't know the answer, but I've experienced similar problems caused by the lack of documentation. What I usually do is look at a different plugin in which the control is used. For example, My Worldmap has a search feature that uses a (single line) textbox. It should be in the plugins SVN.
__________________
Greetz, moiristo

moiristo is offline   Reply With Quote
Old 2008-03-17, 08:07   #4 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,551
Thanks: 34
Thanked 133 Times in 57 Posts

My System

Default

There is no editable Textbox, this is not a windows-forms app, if you want input you need to bring up the on-screen keyboard. There users can type either with their real keyboard or with their remote using the on-screen one.

Then you can retrieve what they typed and if you want display it somewhere or do whatever with it.
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
Reply

Bookmarks

Tags
plz, textbox, wanna

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Textbox? guppi Plugins 1 2007-05-21 00:00
Editable Textbox? Tomato Plugins 0 2007-03-26 20:22
Newbe help plz JustFoo General Support 0 2006-09-20 05:49
My first plugin!! plz help Craig Plugins 2 2006-04-19 23:58


All times are GMT +1. The time now is 21:26.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress