I posted a blog entry on my SmartClient experiences as of about a month ago and detailed some widgets and enhancements I would like to see in the framework. Some of these may exist and I haven't found them or maybe someone out there has found a way to do something similar. Here are some of my wish list items for SC:
Enhanced Text
A couple of features I would like to see in a text box are case conversion and keypress filtering. Using a transformInput handler I can convert the entered value to uppercase. What I can't do is derive a new TextItemEx that has built-in case conversion without changing the functionality of the derived transformInput such that TextItemEx users don't have to call Super. I also don't want to provide the transformInput override for every form field.
Keypress filtering is another feature that would enhance some of those widgets listed below as well. I want a numeric entry field that doesn't allow the user to enter any character that is not allowed upon ultimate validation. I'm a proponent of preemptive validation rather than reactive. What that means is if I can trap issues before the user tries to move on they will be happier with the application.
Date
Isomorphic offers a date editor that consists of 3 individual text boxes and a popup picker or a single text box and popup picker. This is usable but ideally I would like a masked-like entry to automatically place the slashes (/) or dashes (-). The popup picker is also not the prettiest selector...
Group box
I have started using the SectionItem widget in place of group boxes but there are times a group box is just the right way to display some widgets.
Generic mask
Take for example a date field. If my application requires the entry of MM/DD/YYYY, I would like a mask of ##/##/#### or such where the user doesn't have to enter the slashes at all but if a slash key is pressed, the carat moves to the next entry section. This is an enhancement of keypress filtering discussed previously.
I'm aware that implementing a mask field is much more difficult because arrow-key handling is very tricky.
MDI toolbar
One layout strategy we use frequently is a tabbed-MDI. That is forms are displayed in a tab that becomes the primary layout. One toolbar for the application has common features that are shared by each tab but in some cases the tab form needs to provide form-specific buttons or enable/disable shared buttons depending on the form state.
Can anyone share tips on accomplishing any of the above or maybe a place to start building a custom widget?
Enhanced Text
A couple of features I would like to see in a text box are case conversion and keypress filtering. Using a transformInput handler I can convert the entered value to uppercase. What I can't do is derive a new TextItemEx that has built-in case conversion without changing the functionality of the derived transformInput such that TextItemEx users don't have to call Super. I also don't want to provide the transformInput override for every form field.
Keypress filtering is another feature that would enhance some of those widgets listed below as well. I want a numeric entry field that doesn't allow the user to enter any character that is not allowed upon ultimate validation. I'm a proponent of preemptive validation rather than reactive. What that means is if I can trap issues before the user tries to move on they will be happier with the application.
Date
Isomorphic offers a date editor that consists of 3 individual text boxes and a popup picker or a single text box and popup picker. This is usable but ideally I would like a masked-like entry to automatically place the slashes (/) or dashes (-). The popup picker is also not the prettiest selector...
Group box
I have started using the SectionItem widget in place of group boxes but there are times a group box is just the right way to display some widgets.
Generic mask
Take for example a date field. If my application requires the entry of MM/DD/YYYY, I would like a mask of ##/##/#### or such where the user doesn't have to enter the slashes at all but if a slash key is pressed, the carat moves to the next entry section. This is an enhancement of keypress filtering discussed previously.
I'm aware that implementing a mask field is much more difficult because arrow-key handling is very tricky.
MDI toolbar
One layout strategy we use frequently is a tabbed-MDI. That is forms are displayed in a tab that becomes the primary layout. One toolbar for the application has common features that are shared by each tab but in some cases the tab form needs to provide form-specific buttons or enable/disable shared buttons depending on the form state.
Can anyone share tips on accomplishing any of the above or maybe a place to start building a custom widget?
Comment