I would like to be able to restore a soft delete from the list. How would one do this? I am thinking about creating a custom button with a custom action, but I can't get it to work. Maybe there's another way to achieve this?
Related
I am trying to add a custom actions button for my custom VBA Script similar to how we have options underneath almost every button press in Outlook/Excel/Word etc. Is there a way I could achieve this? Please refer to the picture.
You want to create a custom menu item. I can't say I have tried this myself, but I think this is what you need: http://msdn.microsoft.com/en-us/library/office/gg508923(v=office.15).aspx
Consider the heading (ABAP) pseudo code on a SALV-Grid.
I need something like this, or, some way to remove the visual vertical bloating of rows in the grid when the columns that differentiate them are hidden.
After a lot of reasearch, I doubt that such a thing exists, so I need to work around it.
I want to change just the view, I don't want to modify the underlying internal table.
Any ideas on how to best accomplish this? Events maybe?
Make a copy of the data from your table and remove duplicates from the copy. Pass the copy to your grid. The hurdle here would be ensuring you update the original table if edit, delete, and create functionality is enabled in your grid.
I'd like to add undo/redo functionality to my Mac app. The app works with notes and I'd like to add an "undo" action for when the user deletes a note.
This works just fine, the "Undo Delete Note" menu becomes active after the user deleted a note, but after using the "Undo Delete Note" command, there is a "Redo Delete Note" menu that becomes active.
Currently nothing happens when I click "Redo Delete Note", because I didn't register an action. I don't want the user to be able to delete a note accidentally through the undo/redo stack.
Is it possible to add an "undo" action without a "redo" action?
Not in the common case. And to do so would be to violate the implicit contract of the platform-standard undo/redo mechanism. You want the things you register to be symmetric. If a user deletes a note, then the available undo action should bring the note back. If the user elects to undo, then the redo action would be to "delete the note" again. It shouldn't matter if a user "accidentally" deletes a note by virtue of undo or redo, because they should always be able to get it back by doing the inverse action, right?
Don't overthink this.
Starting off with what I need the end result to be:
Customer is able to paste a product key, of the correct format, off of the clipboard into an input box during the install.
Where I am at the minute:
We use WiX to create our MSI. We currently use a masked edit control which works fine. The product key verification is already done using a custom action when pressing the 'next' button. The product key verification should remain the same, only the input method is the issue.
I've spent the last day researching the possible ways of achieving this and have a few ideas, although i'm not sure if any of them will work. I've already ruled out trying to trigger a custom action on paste because I know MSI has no way of capturing that event.
So, my thoughts are a 'paste from clipboard' button. This would trigger a custom action which would capture the clipboard item, decide whether or not it looks like a product key (that would be the easy part) and then somehow paste that into edit control. Note how I say edit control, I'm not sure it would be at all possible with a masked edit control and i'm not certain it'd even work with a standard edit control. I already have a custom action which manages to check whether the licence text has been viewed, and this is achieved by finding the window and the 'richedit' class window where the licence resides and retrieving the scroll position. I had thought that this method may allow me to set the edit control to my clipboard key, again though, I'm not certain this would work.
I have already read about the possibility of writing my own UI controller. I know this is a big task but nothing is ruled out at this stage, I just have no idea where to start.
My final idea, although I have no thoughts on how it could be implemented, would be by changing my masked edit control to a standard edit control, which would obviously allow the full product key to be pasted, although without using a custom action to verify it is in the correct format i'll still be no further forward. But this would then require for some sort of automatic adding of dashes if the customer was to type the product key in manually.
Could anyone can shed any light on the feasibility of any of my ideas and how to implement them or any other ways of meeting my goal?
I have managed to do this using the 'paste from clipboard' option I originally thought of. I added a button to my form, which calls a custom action which queries the clipboard and, if successful, sets two properties in the installer. One containing the formatted product key, and one a basic property to tell whether or not the clipboard operation has been successful or not. The masked edit control is linked to the product key property, and by refreshing the control,
<Publish Event="Reset" Value="0" Order="3">ClipboardSuccess = 1</Publish>
the product key is populated in the masked edit control.
I installed the form and list module and I configured it. I added some row but now I want to organise them or delete some rows, but I don't find any information about it...
So.. is it possible ?
Thanks :)
Ok, found how to delete a row, I had to select "HTML Buttons" for "Send Buttons". Now, when I edit a row, I have the choice between update, cancel and delete.
About the sorting problem, I don't think it's possible to organize the rows manually.