StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
New ListView functionality and ChildForm Params
New ListView functionality and ChildForm Params
Post Reply
Like
0
New ListView functionality and ChildForm Params
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Guillermo Vilas
Guillermo Vilas
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 112,
Visits: 2.3K
Hi,
When using the new functionality of the listview in the beta release where is the best place to add the parameters to pass to the constructor of the ChildForm Dialog called?
I´m guessing that it would be the BeforeChildFormExecuted event but an example would be great
Thanks for your help guys
------------------------------------------------------------------------
I would like to change the world, but they don´t give me the source code.
MS Windows 7 Ultimate 64-Bit
Intel(R) Core(TM)2 Quad CPU Q9300 2.50 GHz
6.00 GB of RAM, NVIDIA GeForce 9800 GT
MacBook Pro i5 OSX Lion
Reply
Like
0
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Well, actually these parms are not exposed at the moment. In fact, I have not yet run into a situation where this was needed...so, well, it isn't there
I will add this to the list for the next update. Thanks.
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 14 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi Trent,
Will this enhancement make it in the next release?
I use a lot of listviews with the childform dialog and have the need to pass parameters to the childform defined in the ListView.
Besides waiting for this enhancement, is there a work around other than not using the ListView functionality and calling the childForm.ShowDialog(Params) myself?
Edhy Rijo
Reply
Like
0
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
You've always been able to call this yourself. You can manually call the ChildFormDialog.ShowDialog(...) and pass the parms. So that would be the workaround at the moment. However, we have exposed this in the next update. Here is the enhancement that has been added:
A new event argument parameter in the OnBeforeChildFormExecuted event called ChildFormParameters. By adding parms to this collection they will be passed on to the calling of the ChildFormDialog like this: ChildForm.ShowDialog(ChildFormParameters.ToArray()). This gives the developer the ultimate control in automation of a child form call through a ListView.
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 14 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Thanks Trent!
Edhy Rijo
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search