Defaulting of controls onto WinForm from object - how to?

Defaulting of controls onto WinForm from object - how to?

Old forum URL: forums.lhotka.net/forums/t/708.aspx


skagen00 posted on Monday, July 24, 2006

I remember seeing Rocky in person doing a demo where an object (data source?) was dragged onto the Win form and options were given with which control types to populate and so forth.

I'm working in Win right now to just do quick test-harnesses for my BOs which will eventually be used in an ASP.Net app. I'm sure this is pretty straightforward but I can't seem to figure out what I need to drag where :).

Thanks.

Michael Hildner replied on Monday, July 24, 2006

I think you do mean data sources. Click on Data | Show Data Sources to show your data sources. You can create a new one from there, choosing your business object. Make sure you have a form open in design view, then you can drag your data source properties onto the form.

If you click the drop down arrow on the right of the data source, you can change the control it will use.

Mike

Copyright (c) Marimer LLC