ListView double click for edit


Author
Message
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
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

Smile Everything is possible, just keep trying...

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
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.

Edhy Rijo

Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Trent, Edji

Thanks, I was not defined AutoNavigateToSelectedRecord = True

Regards

Smile Everything is possible, just keep trying...

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Cool Cool Glad you got it working!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search