StrataFrame Forum

ListView double click for edit

http://forum.strataframe.net/Topic17810.aspx

By Juan Carlos Pazos - 7/11/2008

Hi

I have the latest version of SF. I'm using a ListView configured to use a BO with two fields, one is the indexed ID field and the other is a sring value.

I follow tge guide of the sample and put three buttons for New, Edit and Delete. I add a ChildForm and configure all. All these works just as expected.

I noticed that the ListView have EditObject, AddObject and DeleteObject, I select each one to the corresponding buttons. The Handle action for three are also in true, the PerformActionOnDoubleClick is also set to true, but do nothing; if I run the app, I must to clic on the button for editing, double click in the ListView does not do anything.

If the PerformActionOnDoubleClick is not for editing, what is for?

Regards

By Trent L. Taylor - 7/12/2008

I just tested this and it works as it should.  So be sure that you have the following properties set in order for it to work:

  1. AutoNavigateToSelectedRecord = True
  2. BusinessObject = Instance of the BO represented within the ListView
  3. EditObject = Some Button or object
  4. HandleEditAction = True
  5. ChildFormDialog = Instance of a child form dialog
  6. PerformEditActionOnDoubleClick = True

If you have all of this setup, it will work.  Double-check and make sure you aren't missing something. Wink

By Edhy Rijo - 7/12/2008

Hi Juan,

Just to confirm, I also use this feature all the time, in fact I love the enhanced ListView Smile and it just works as advertised.

By Juan Carlos Pazos - 7/12/2008

Trent, Edji

Thanks, I was not defined AutoNavigateToSelectedRecord = True

Regards

By Trent L. Taylor - 7/12/2008

Cool Cool Glad you got it working!