Is it possible to somehow edit NonVisualPictureProperties in PowerPoint? - c#

I need to change the "Title" property.
I searched in the "Format Picture" menu, but did not find such an option there.

Related

How to bring back c# controls whose Text property were deleted and are not visible in the Windows Form

I have a Label over the TextBox for which I deleted the Text Property. Now it is not visible. How to bring it back to visibility?
I want to move the label control. That's why I need to see the control. Please tell me how to make it visible in the form.
You can select the Label from the top of the Properties Window in ComboBox.
After you select it, You can change the Location value for move it.
Other way is select Label on Document Outline Window and move it manually.
But easiest way is fill the Text value and move it ,then clear the Text again!
there a buttons called bring to front and send to back,
here how u can get them
unable to find "bring to front" and "send to back" option in visual studio 2013
When you're unable to find or select a control in the designer, you can still find it in the "Document Outline" window. To access this window in Visual Studio, go to:
View -> Other Windows -> "Document Outline" Window

Unable to edit form using DevExpress

puu.sh/kiQ0k/aa28192731.png
Does anyone know how I can manipulate the objects in this form? I would really like to be able to edit some of the tabs. It's using DevExpress v14.1
To edit the tabs, just click the tab control and use the design time helper icon on the tab controls upper right corner. There, you can find a link called "Tab pages".
Alternatively you can just select the tab control by clicking and head over to the properties window (press F4) as you can do with every control. There, you find a property called TabPages.
If you want to edit the controls on the tabs, just do so by selecting them per mouse click and change the controls' properties on the properties window (press F4).
The issue was that DevExpress wasn't installed on my system and thus wouldn't let me modify the elements. Simply installing the right version fixed the issue.

Set edit mode as default behavior when adding a new item in a tree

I have a Treeview which I can do some simple operations like expand, add new item, edit, delete, copy and paste, rename, etc.
What I would want to do is that, when I click "Add item", it creates it and shows up in edit mode, so I can set a new name to it. As it is right now, I just assign a generic name "New Item X".
I hope there is a easy solution for this that I'm missing here. Im working with WPF by the way (I don't think it's necessary to put some code samples here, but if I'm wrong, just say so and I'll edit the post).
Got it!
I used a Refresh() function that is called every second, refreshing the tree. It also handles the AddCommand, so when I try to add a new item, it receives this request, set a EditName property to true and that's it!
OBS: I couldn't see any other way, as I couldn't set the focus to the new created item.

Sitecore sc:link field type default set

How can I set the default type of link a control should show in page editor? I have field inside a repeater, and using pageeditor they can enter a new item, and this is one of the fields. How can I set it so that when they do that, and click on editing the link, they enter an external link? In the content editor, they can choose 'external link' as the option, but in page editor, they can't.
You may want to contact support on this one. It appears that the Page Editor defaults to the "Internal Link" dialog for General Link fields.
This was asked here on stack several months ago and someone commented that Sitecore support supplied them with a patch.
In the meantime, if you need a workaround, you can enter the text below into the general link field as a RAW value. It will trick the Page Editor into thinking it's an external link.
<link linktype="external" url="" anchor="" target="" />

Disabling default buttons in word 2003

I'm currently trying to disable some buttons on the menu bar in word 2k3 but I have no clue on how to do so, from what I can find online it seems that i need to call the function "EnableMenuItem" from the user32.dll but it doesnt seem to work. Are there any other options available? I want to disable copy/paste/cut without the use of macros to intercept the calls.
thank you all for your help :)
Gonçalo
You'll have to iterate through the app.commandbars collection to find the specific commandbar (in this case,the EDIT MENU) and then interate through the commands to find the specific menu items, then you should be able to hook the click events, or disable the buttons (CommandBarButton objects have an ENABLED property you can set, I believe you can also set VISIBLE on them).
Be aware that in different languages, the Caption can change, so it's best to key of the ID property.
Here's a post of how to get those names and ID's
http://support.microsoft.com/kb/243988

Categories

Resources