StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



ListView double click for editExpand / Collapse
Author
Message
Posted 07/11/2008 10:48:35 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 11/17/2008 11:49:36 PM
Posts: 86, Visits: 150
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

Everything is possible, just keep trying...

Post #17810
Posted 07/12/2008 9:31:09 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
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.

Post #17811
Posted 07/12/2008 11:42:35 AM
Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 8:48:41 PM
Posts: 714, Visits: 3,004
Hi Juan,

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

 
Post #17820
Posted 07/12/2008 12:30:24 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 11/17/2008 11:49:36 PM
Posts: 86, Visits: 150
Trent, Edji

Thanks, I was not defined AutoNavigateToSelectedRecord = True

Regards

Everything is possible, just keep trying...

Post #17821
Posted 07/12/2008 12:54:40 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
Cool Glad you got it working!
Post #17822
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 2:03am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.