View Single Post
  #90  
Unread 05-31-2005, 08:42 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by Laffs
Its still a question of location though is it not? and that wouldnt solve that problem? Or have I missed somthing here

Oh and I knew it wouldnt be long before you was back lol... Thinking up stuff and not being able to try it out for yourself is enough to drive you nutz man

Well, this is ofcourse only my brain here working, no testing. but...

Well, yes and no. As far as location.

You can use one buttons 'OnPress' event to set another buttons stated to 'pressed = true' or 'set = true' for a checkbox.

That being said, It should be totally possible to make a generic parser.
That would say..
Make a generic , non-visible window with three buttons in it, name the buttons a generic name, and have it crate each 'button' xml document, placing the buttons inside this generic non-visible window, perhaps even placed off screen.

That being done.
Any mod author would just have to address those particular button names.
You could put your buttons wherever you wanted, or make the look how ever you prefer.
Just as long as the OnPress or OnSet event of YOUR button, would
activate the associated OnPress, or OnSet event of the appropriate 'hidden' button.
Like. Laffs Widow Button #1 OnPress=GenericWindow.Button1.OnPress=True
Or GenericWindow.Button1.OnSet=True

Which Should set the event to change the profile settings.
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote