I am trying to get a spellchecker to check spelling in a text field as the user types. I am well aware that browsers such as firefox have this feature for textfields (but this requires a user to manually enable it in the right click menu.
The ideal script Im looking for would accept an id as a parameter, since the id for the field I want to be checked cannot change.
Thanks
My suggestion would to look at a predictive text tool, similar to the tag-finder that SO uses where you have a dictionary, and as a term is typed, you do some kind of AJAX-y lookup to see if they're typing correctly.
Adding a new word would be similar to adding new tags on SO - if the predicted word is not picked, add it to your dictionary.
I'm sure there are others who have done a similar task, though - and this suggestion might be harder to implement than in sounds in my head.
Related
I've written LabView code for a locking system.
The lock has a motion timer that relies on input from a numeric control. I've added a script file reader that needs to be able to change that timer value. Using a selector, I can switch between values, but I'd like it to update the value in the control, rather than override it, so that I can see it on the screen.
How can this be accomplished?
This is currently how I switch between the scripted version and the direct numeric input from the control:
So how can I get the script value to update the control box or is that not possible...?
Do you mean something like this? I created a little vi to demonstrate how the control is updated.
In most cases "property nodes" are the way to go. Every control has a lot of different options to chose from and usually if you look through the properties you will find what you're looking for :)
A little hint:
If you want to add "code" to your question so that other users can test it, you can create a .png file. To do this, you need to select the parts of the vi that you want to share, and click on "Edit > Create VI Snippet from Selection". Then you save that generated .png and upload it here as a picture. Then others can drag&drop it into their block diagram.
Important: Check the .png before uploading and make sure that you're not accidentally posting sensitive data of your company.
I want prevent users from possibility to delete a name by accident from the list.. It should be possible to delete a name by clicking only on [x]...
Thanks
Reconsider the plan as Stephan says. My advice: you have used filter elements from OneUI framework. That's not a good choice in my opinion.
My suggestion is to use list element of OneUI instead, for example:
You might want to reconsider that plan :-) - the behavior of the dojo value picker in any other application is to make the full entry a click target - since you don't control other applications, you create an interaction inconsistency that will rather annoy users.
... But if you have to:
The Dojo UI interaction is deeply wired into that control and can't be changed easily. Your sensible option is to take the source of the control and create your own dojo/dijiit widget. Since dojo supports name spaces, that can coexist with the default control. Check the dojo documentation. It contains tutorials how to do that.
You might find there are better uses for your time.
I actually have two questions here. First one is exactly what the title says. Example: I want users to be able to add a setting into My.Settings from the application. I want them to be able to add an unlimited amount and I want the scope to be set to user and the type set to string. I don't want them to be able to change the scope or type, only the "Title" and "Value". What I need this for is so users can make a setting so if they type "sof" into the URL bar of a VB.net browser it will go to "stackoverflow.com" of course I want them to be able to change the shortcut and the site and add new ones. I also want them to be able to view a list of all of them and edit or delete the ones on the list.
Second question is how do I make the code search through all of my settings and see if any of them are titled what the person put into the URL bar and if there is get the value of it and navigate too it.
I know this is a lot to ask, and I am not asking for someone to do it for me, I am asking someone what procedure would I follow to do this. If there is already a tutorial or an answer to this please link me to it. If you have the time please answer.
Actually, not to make Douglas look bad, but you can easily do what you want with the user settings. See this My.Settings page from MS. What you will want is the "System.Collections.Specialized.StringCollection" setting type. The link I gave you shows you how to read, change, and save the data. It also shows you how to make a simple UI for the user to be able to change them, if you want.
As for the second part, also easy using LINQ. This is not exactly what you want but it is close and has a lot of good examples.
Is there a way to customize the style for the issue displayed from search?
The specific features I am looking for:
To be able to choose whatever fields to display and the order. The popup windows
from "Visibility Setting" does not seem to work completely for this purpose.
To break down issues into groups with headings, such as priorities, milestone, etc
(again, from user choice).
Here is the sample screen from fogbugz:
Anyway to do the same? That is the simple useful feature I assume must be already supported.
I have search the doc, but could not find an answer.
Thanks.
What you request is clear, but unfortunately, it's not possible.
This is a part of the iTunes smart playlist creation window; for my application I need to create something very similar to this:
The changes I'll be making would be the column that says artist would be integers (but still a pop up button), same with the second column. The third column would be text input like in the picture. I would like to keep the functionality of the "+" and "-" buttons but I don't have much use for the "..." button. Is there any easy way to recreate this? I need the user to be able to add as many or few fields as necessary.
Thanks in advance!
If you don't need to support 10.4, take a look at NSPredicateEditor. It should allow you to easily recreate iTunes' interface with the changes you describe. http://nvie.com/posts/nspredicateeditor-tutorial/ may be useful to help you get started.