Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Derar
Novice


Joined: 09 Sep 2006
Posts: 44

PostPosted: Mon Sep 18, 2006 3:59 pm   

Button COM Object Method?
 
Having read through the few pages on here about available COM methods, functions, and properties, I was hoping to have found an easy way to update button properties (such as size, position, etc.) without having to delete and recreate the button.

Despite listing all the available Button Object Properties, however... I don't see any mention whatsoever of the method to specify which button object I want to change.

Example:
Code:
#Var Trig %session.TriggerNum(0)
#Var Trig.Current.CaseSens 0


That's off the website, sets the first Trigger's case sensitive property to false.

Here's what I need:
Code:
#Var Btn %session._________________
#Var Btn.Current.Height 20


Any help in filling in that blank would be greatly appreciated. (I also question the need of the ".Current" in the second line, but that will be fairly easy to figure out afterwards).

Cheers,
D
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Mon Sep 18, 2006 10:28 pm   
 
It looks like there just is no COM interface to get existing buttons. If you create the button using the MakeButton then you can access a COM object for it.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net