Child Form Dialog


Author
Message
Paul Chase
Paul Chase
Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
I have an contacts user control that I use throughout my application to enter contact information phone numbers etc.

It works nice drop it and a BO on a form set a few properties and I'm done. Because some forms don't have as much real estate as others I added the ability to be able to hide fields on the user control which works out nice, however now I wanted to allow the user to pop up a maintenence form that has all the extra info that may not be shown in that instance of the usercontrol.

Problem is when I try to use the child form dialog control on the usercontrol it squacks about not being on a something inherited from SF base form, (the usercontrol is ultimatley inherited from MicroFour.StrataFrame.UI.Windows.Forms.UserControl with 1 layer of inheritance)

I ignore that messagebox and configure the childcontrol anyway's but get object not set to an instance when I call the showdialog method.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Paul Chase - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Paul Chase - 17 Years Ago
                 Here is part of the stack...
Paul Chase - 17 Years Ago
Paul Chase - 17 Years Ago
                         You could configure it programmatically... the UserControl implements...
StrataFrame Team - 17 Years Ago
                             Thanks Ben, Thats exactly what I needed. I am still having a problem...
Paul Chase - 17 Years Ago
                                 If it cannot find the BOs then you might need to set the ParentForm...
StrataFrame Team - 17 Years Ago
                                     Thanks Ben the problem was I was setting the source BO to be the BO on...
Paul Chase - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search