how to have tab-specific xul control with firefox - firefox

let me put it simple.
With Firefox 29,
I add a check box control next to the back & forward button in the toolbar "nav-bar".
It works. I mean I can do check and uncheck, and the javascript code will be triggered.
Now, my problem: after I checked the checkbox in one tab, I found that the checkbox in all other tabs are also checked, and if I uncheck any of them, the checkbox in all other tabs will be unchecked.
Why they change as one? I would like them to be unrelated or separated. In another word, I want the control (checkbox or button or label etc) to be tab-specific.
All suggestions are appreciated.

Related

How to switch off this kind of modal windows

Where to look for code that calls a window like this? Is it JavaScript on browser's side or something else? This modal window is shown to fix an address of work order (when user changes it) and make it the same as the address of account. I do not want it and need to switch the window off.
It is Javascript which is firing on change of your Field (work order).
It is quite easy to turn it off.
Go to Setting--> Customizations click on it
Then click on Customize the system
Then Select your Main form.
Then click on your particualr filed and popup will open something like below
When you double click you will see below option, just uncheck enable and the function which is firing on change of your work order will be disabled.

Whats the meaning of the "build&run" button's arrow?

Out of curiosity, when you open xCode and you want to run your app, you must to click "Play" button:
But when you hover this section, a little arrow appears (downright)
Does anybody know the meaning of that element, I thought it was a hidden menu.
When you click and hold on that button, a Menu will appear where you can switch the default action for this button.
You can see the other options here:
Note that you can modify these options by holding either shift (just build), alt (brings up the scheme selector for that scheme first) or ctrl (don't build, just run).

Start Firebug when radio button is clicked

I have a complicated mess of code (built by a team of 7 over the course of several years) that incorporates multiple libraries - jQuery and angularjs, specifically.
I know that the value of a variable changes when I click a certain radio button, but I have no idea what is running when that happens to cause the variable to change. I've tried console.log in every place I can think of, but am somehow still missing the action that's changing the variable.
I know how to debug with Firebug if I know where to place my breakpoint, but in this case, I don't. Is there any way to tell Firebug to start debugging at the line that executes immediately after the radio button is clicked? In other words, when I click the radio button, open Firebug's Script panel to the first line in order of execution, wherever that line may be.
If you have chrome you can right click on the checkbox -> inspect element -> event listeners
Is there any way to tell Firebug to start debugging at the line that
executes immediately after the radio button is clicked?
Yes, this feature is called Break On Next.
Note that Firebug has much more features to debug your scripts besides setting breakpoints within the Script panel. These features are described in the 'Script Debugging' page inside the Firebug wiki.
Furthermore the Watch side panel allows you to inspect the variable to see, at which step it is changed.

vatab pro 2.0.46 unsetting radio option on tab

I have a vatabpro control version 2.0.46 by Farpoint technologies in VB6 on a form.
In the form activate event some code is run to show and hide the certain tabs in the va tab pro control.
After this a normal option button on one of the tabs is set to true.
When the form is displayed all the radios on the tab are unchecked even though they were explicitly set in code and I can see this happening on a breakpoint.
I have a weird feeling i've seen this before and suspect it might be something to do with the vatabpro control and hiding tabs or switching between active tabs?
ok i found the answer, it's because the tabs are not treated as separate containers so radios in other tabs were unchecking my radio when they were being set. The solution is to nest the radios within a frame.

tab order in dialog box

I'm using an old version of Visual Studio that provides only the 'interactive' method for setting tab stops. Is there anyway to clear all the tab stops before setting them? Or anyway to exclude a given control from having a tab stop?
Added 10-sept-2009
Part of my problem was confusing tab stop order and tab stops. I naively assumed setting tab stop order, set a tab stop hence much confusion. Thanks for pointing out that tab stops are set in the property box.
You are not clear about your specific VS version, but as far as I remember (back to VC6) you automatically assign the tab order if you simply click once on each control in your desired order. There is usually no need to reset them beforehand.
This hint from a VC6 tutorial might be helpful:
To adjust the tab order of your
controls, you can choose the Tab Order
command from the Layout menu and click
the controls in the order that you
want them to be tabbed. If you have a
complicated dialog box and only want
to change the tab order of a few
controls, you can take a little
shortcut by holding the Ctrl key down
and selecting the last control that
tabs properly before selecting the
controls that tab incorrectly.
Clicking an empty spot in the dialog
box, or pressing Enter, will exit the
tab order mode.
To prevent a control from being
reached using the Tab key, clear the
Tab stop checkbox on the control's
property page.
If you want to change the tab behaviour programmatically, look for the WS_TABSTOP windows style.
Open the dialog whose tab order you want to change. Press Ctrl + D. On the dialog you will see numbers next to each control which indicate the tab order for that control. Click the controls in the order you want the tab order to go.

Resources