Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » GridCell feature requests Collapse All
Subject Author Date
David Skok Feb 23, 2007 - 7:22 AM

Please advise me if it already possible to do the features I ask about.

1. For InPlaceSlider Cell type, when a user presses Enter, or optionally a numeric key when such a cell is focused, an inplace editor temporally replaces the slider so that a user may enter a number directly if they wish.

2. Self checking range cell like the fields in DateTime. A simple integer control with set endpoints that behaves like say the day field in the DateTime Cell. If the month is March you can only enter a day between 1 and 31. In addition, when the editor is active, the up/down keys inc/dec the field. If this is not already in place perhaps you could advise me how I could implement this myself as I need something like this soon. Which cell type best to start with and where to catch the keys before the editor and set editor display.

Thanks

PS- Thanks for the new 2.64 release, PROF-UIS controls is the best damn thing since sliced bread, keep up the great work!!

Technical Support Feb 27, 2007 - 9:59 AM

1. The CExtGridCellInplaceSlider cell does not support the inplace editor at the moment. We can add this feature if you really need it now.

2. First you need to code a CEdit-based control that implements what you need. Then you can activate this control as the cell inplace editor. You can take a look at the CExtGridCellHotKey cell where a custom CEdit-based control is used as the inplace editor (the CExtGridInplaceHotKey class).


David Skok Feb 27, 2007 - 12:15 PM

If you could add the inplace edit feature to the CExtGridCellInplaceSlider I would greatly appreciate it. It would take me quite a while to make it work. Currently I use an inplace slider cell that displays text indicating the current setting. The function that I’m looking for is allowing the user to enter a number using an inplace editor directly if they choose by pressing Enter or a key. The inplace slider is temporarily replaced with the inplace edit. When entry is complete, they press Enter again and the inplace slider reappears along with any text. The user can still adjust the slider with the mouse if they wish.

Hate to be a pest but I have one other request, when an inplace slider cell is focused, allow the slider to be adjusted with keyboard. A possible combination might be Alt+arrow key depending on slider orientation.

I am making progress with a numeric entry cell, thanks for the reply.

Dave

Technical Support Mar 13, 2007 - 11:23 AM

The features you requested are ready. We almost completely recoded the CExtGridCellInplaceSlider cell so now it activates the inplace editor when the user presses Enter or F2. The user can also change the scroll position using arrows key in conjunction with Alt key. The following keys are supported: Left, Right, Up, Down, Page Up, Page Down, Home and End. If you need these features right now, please let us know so that we can provide you with the latest source code.

Svetlozar Kostadinov Feb 23, 2007 - 9:12 AM

I also would like to vote for this request. Especially for the second!