How do you prevent an Excel / ActiveX Command Button from being moved/edited, but allow it to be clicked - forms

I've got an ActiveX Command Button on a WorkSheet. I will be protecting the worksheet and need the button so it cannot be moved or changed, but still want it to be clickable.
How can I achieve this?

Go ahead and protect the sheet. If macros are enabled the button should remain click-able.

Related

how do I get DBeaver to show a Save button?

I want a save button that I can click with the mouse, but when I focus on a SQL editor page and file and do >Window >Customise Perspective >Edit actions, it's greyed out and says "Save (Ctrl+S' command cannot be made visible in this dialog.
DBeaver Community v6.0.5.2019... Windows 10 Enterprise 2016
It's just a simple thing so I don't have to keep switching between keyboard and mouse.
This is some months old so it may not be relevant for you, but this may help others (I was brought here as the lone google search result and had to keep poking around until I found it)
anyway, in DBeaver menu select Window>Preferences>DBeaver>Editors there should be a checkbox for 'Show Edit toolbar'. Check that and apply and close. Exit and restart DBeaver and it should have buttons for save/undo/etc. If it still does not, go to Window>Customize Perspective and the 'Edit actions' toolbar items should no longer be unselectable so you should be able to add them to the toolbar from there.

Hide menuBar on click icefaces

I know icefaces has a "displayOnClick" parameter so that it will display when clicked on. However, clicking on it again does not hide it. You have to click off. Does anyone know if there's a way to make it hide when clicked on again?
Solution: this can only be done in ace 3.x. To do it otherwise, you need to use javascript.

prevent unchecking radio button by clicking on it in matlab

I created GUI using GUIDE and placed to radio buttons in one button-group panel. This conveniently takes care of unchecking one radio button whenever the other one is clicked. Now what's freaking me out is I can actually uncheck a checked radio button by clicking on it a second time, leaving BOTH radio buttons unchecked. It works with either of them. The only thing I want is the standard behavior, is that asking so much....?
I'm using Matlab 7.0, unfortunately this is all I've got.
I have 7.0 on one of my computers and r2011a on another and this non-standard behavior seems to be something that they fixed somewhere in between. Since MATLAB 7.0 is all you have, here is an easy way to fix it:
At the top of all radio button callbacks add:
if ~get(hObject,'Value')
set(hObject,'Value',1)
end
That should fix the problem.

Insert Button into Word Document

Is it possible to insert a button into a word document and call as macro on click of this button. Please let me know if you have any similar ideas and also the procedure to do it.
You'll need to use VBA to do this, but it's pretty straight-forward.
There's an MS knowledge base article that describes exactly what you want to do.
It is possible to insert a Command button (as well as some other contorl like radio button etc) in Word Document.
Click on the Toolbar and enable Visual basic. You will get all control boxes, Select the Command Button. You can wirte the code into in the VBA script. This will get executed on click of the Command Button.

Change checkbox(Activex control) in word 2007

In word 2007, I'm trying to use the default activex control as check box. I would like the color of text changed after some one check the box it.
I know how to get it done with VBA and checkbox formfield, but how can this be done with checkbox(active control)?
Shortly, is there any way I can retrieve the properties or other object information of ActiveX control check box?
I think this answer is too late for the questioner, how ever i am sending it for those who will face this problem later on.
IF you know how to change check box color in VBA then you can do it in word as well. All you have to do is to insert a check box that you can code your self. to do so.
Generate Developor's Tab in MS Word by clicking word button at the top left of MS WORD 07 Window; Select Advanced; Select Popular; then in the pan opened, check the check box that contains Developor's tab.
Now Click the Developer's Tab, Locate the Control Group and from their, click on legacy tools pull down menu.Click on more controls option at the lowest left of the legacy tools pull down menu. A new Window will open.
Scroll down to find the option Micrsoft Forms 2.0checkbox.
Click to select it, and you are done. You will receive a check box at the place where your cursor was blinking before you startated this process.
This Checkbox is very similar to the Check box from VB. Now if you know the VBA Codes and want to change the properties of check box like color etc. Look at the Control Group in Developer's Tab. Click Design Mode. Now DOUBLE CLICK THE CHECK BOX AND VB CODING FORM OPENS WHERE YOU CAN CODE.
In case you do not know how to code in VB, You can still make some useful changes in check box. Single click on the check box and Then Click Properties Immediately below the Design Mode in the devloper's Tab.
Here you can make changes in properties.