View Full Version : How do buttons work?
Scarabus
13th March 2003, 17:46
I'm experiencing some strange behaviour in a DVC image that I'm editing.
I'm using a register to keep track of the last thing that was displayed, but it seems that register is getting changed. I suspect it's when a button is pressed but I can't locate where the commands associated with a button are. Can anyone help? What happens from a coding standpoint when the user activates a button?
2COOL
13th March 2003, 21:09
Originally posted by Scarabus
I'm experiencing some strange behaviour in a DVC image that I'm editing.
I'm using a register to keep track of the last thing that was displayed, but it seems that register is getting changed. I suspect it's when a button is pressed but I can't locate where the commands associated with a button are. Can anyone help?
You can view the commands in your VTS_*_0.VOB in VOBedit's button mode. But you have to know the right VOB-ID & Cell- ID. When you do have the correct IDs, use the X and Y coordinate positions in Button Navigational Commands to figure out which button you are referring to.
What happens from a coding standpoint when the user activates a button? In executes the button command you'll also find in VOBedit. It can navigate anywhere like to a pre-commands, post-commands, Video Manager (VMG), etc.
I think there's a thread somewhere deep in this forum that someone went more into details on using VOBedit. Who knows, maybe when I have time, I'll come up with a user friendly guide on doing this but it's kinda time consuming.
Scarabus
13th March 2003, 22:25
Thanks 2Cool. It never occured to me to explore the VOBs. I'll have a poke around some time.
In the end I changed the register I was using and it worked. It seems that one or more of the buttons was changing the values on me.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.