EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-02-2012, 06:50 AM
adolf102 adolf102 is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Jul 2006
Server: Runnyeye
Posts: 11
Send a message via ICQ to adolf102
Default Item name in TextBox (Examine Item window) - Help Request

Hi Everyone and Happy New Year!

My question. Hopefully someone will be able to help.
I'm trying to modify Examine Window this way that Item Name is displayed in TextBox so I can select it and copy (ctrl+c) elsewhere.

I check Drums examine window and came up with such modified piece of eq2_ui_examine.xml

Code:
            <Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" MaximumSize="218,16000" Name="Name" ScrollExtent="218,40" ShadowStyle="/ShadowStyles.SmallText" Size="218,40" TextAlignmentVertical="Center" TextColor="#F1CE02" Visible="false">:43a26ad55ecad634:Rune-Encrusted Ivy Etched Underwear of the GODS</Text>
            <Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" MaximumSize="218,16000" MaxLength="50" Name="NameTB" OnShow="Text=&quot;Kluski&quot;" RStyleActivated="/CommonElements.Textfield.data.selected.rect" RStyleDefault="/CommonElements.Textfield.data.default.rect" RStyleDisabled="/CommonElements.Textfield.data.disabled.rect" RStyleDisabledActivated="/CommonElements.Textfield.data.disabled.rect" RStyleMouseOver="/CommonElements.Textfield.data.mouseover.rect" RStyleMouseOverActivated="/CommonElements.Textfield.data.selected.rect" RStyleMouseOverSelected="/CommonElements.Textfield.data.selected.rect" RStyleSelected="/CommonElements.Textfield.data.selected.rect" ScrollExtent="218,40" Size="218,40" Style="/CommonElements.Textfield.data.style">Parent.Parent.LorePage.Name.Text</Textbox>
problem is that Text in my new TextBox is not being populated with item name. Why? And how I can fix it?

Thanks !
__________________
Reply With Quote
  #2  
Unread 01-02-2012, 10:43 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

What I would do is;
Using the ExamineItem window as an example here.

We'll be working in the LorePage.
  • Add a text box give it the same location as the Object "Name" and name it TBName.
  • Now do a couple of things to the Text Object "Name"
    • Add OnTextChanged="Parent.TBName.Text=Text"
    • Add Visible="False"

Hope that helps.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #3  
Unread 01-02-2012, 07:09 PM
adolf102 adolf102 is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Jul 2006
Server: Runnyeye
Posts: 11
Send a message via ICQ to adolf102
Default

Thank you very much for suggestion Landiin. That did the trick
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:43 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI