Phillip Brooks Posted February 17, 2012 Report Share Posted February 17, 2012 I've been asked to allow editing of a database table in a multicolumn listbox. I used to use a dialog to edit the record's contents, but now it would be nice to edit 'in place'. If you select a row and then select a cell, the cell changes into edit mode. I've tried various combinations of properties and looked through the methods to try and find how to set a cell to 'edit mode' programatically, but just can't find the right combination. The fields marked <REQUIRED> would be set to edit mode in succession until all <REQUIRED> fields are filled in or until the user selects a different control on the FP. Anyone know how to coax the cell into 'edit mode' programatically? Quote Link to comment
ShaunR Posted February 17, 2012 Report Share Posted February 17, 2012 (edited) Edited February 17, 2012 by ShaunR Quote Link to comment
mje Posted February 17, 2012 Report Share Posted February 17, 2012 Yup. Bonus points for setting event handlers for arrow/tab keys for navigation. Quote Link to comment
ned Posted February 18, 2012 Report Share Posted February 18, 2012 You could do something like I did here: http://forums.ni.com/t5/LabVIEW/array-of-cluster/m-p/1822451#M625032 which gives you full control over key navigation. I used a table instead of a multi-column listbox, but I think the same approach would work. Quote Link to comment
Minh Pham Posted April 11, 2012 Report Share Posted April 11, 2012 Bonus point for ShaunR for the intended infinite while loop to distract people from the main point Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.