EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   button with editable txtbox for targeting (https://www.eq2interface.com/forums/showthread.php?t=16034)

Maozem 10-22-2011 07:54 PM

button with editable txtbox for targeting
 
Hiya all :)

I have been looking thru the forum and can't seem to find a simple example to go by.

I want to make a small window with say three editable txt boxes, and an associated button that target whomever I type in the box, or a mob for that matters.

Question 1) Is this possible?
Question 2) Can anyone point to a simple example that I can learn from or post a single box code?

I would be most grateful and apologize for my lack of knowledge.

Maozem

Darqwood 10-22-2011 11:27 PM

1 Attachment(s)
Quote:

Originally Posted by Maozem (Post 98555)
Hiya all :)

I have been looking thru the forum and can't seem to find a simple example to go by.

I want to make a small window with say three editable txt boxes, and an associated button that target whomever I type in the box, or a mob for that matters.

Question 1) Is this possible?
Question 2) Can anyone point to a simple example that I can learn from or post a single box code?

I would be most grateful and apologize for my lack of knowledge.

Maozem


Maozem, the existing macro system would be the best example. What do you need the interface to do beyond that?

Maozem 10-23-2011 12:34 AM

Quote:

Originally Posted by Darqwood (Post 98557)
Maozem, the existing macro system would be the best example. What do you need the interface to do beyond that?

I intend to build a targeting box/threat meter eventually as I understand each part. What I am after with this particular part is to be quickly editable, without having to open the macros to edit them. I may build in some other functionality eventually, this is just the first step in the process. I will work up a graphical representation of what I am after somtime tomorrow and get it posted.

Landiin 10-23-2011 02:32 AM

Code:

<Page ...>
<TextBox Name="tb1" ... />
<Button OnPress="target tb1.Text" ... />
...
</Page>


Maozem 10-23-2011 09:25 AM

Thanks, that should get me started.

BTW is there a way to have a textbox read the item data from drag and drop?
Say similar to what a chat window does? you drag and drop the item in and it puts the appropiate item link in from drag-n-drop of the icon. I would love to do one that would simplify entering of items to dkp thru guild connect. Wasn't sure if this one was possible or not though as the only thing that I have seen that reads data that way is a chat window.

gjsi 10-23-2011 10:29 AM

Why do you ever edit a targeting macro? I use two macros , the first sets an alias to my current target when I press the button, and the second uses the alias to do the targeting.

I actually have 4 sets one for target mt, one to assist mt, one to target ma, and the last to assist ma.

I have not edited a targeting macro in years, and use them daily with every tank I group with.

Maozem 10-23-2011 11:41 AM

Quote:

Originally Posted by gjsi (Post 98564)
Why do you ever edit a targeting macro? I use two macros , the first sets an alias to my current target when I press the button, and the second uses the alias to do the targeting.

I actually have 4 sets one for target mt, one to assist mt, one to target ma, and the last to assist ma.

I have not edited a targeting macro in years, and use them daily with every tank I group with.

It is mainly to create a small targeting system for various mobs as I tank, then as targeting assists for my raid illy. Our raid is a little newer, and we still have a bit of inconsistency in who shows up, requiring editing of the various macros that I use. Otherwise it is mostly for the fun of learning how to do it. In the end there will be some other functionality included (least that is what I plan) but I figured best to start with simple and basic first and build from there. :)


All times are GMT -5. The time now is 09:40 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI