I have just completed developing a form with a container that has embedded controls. I want to convert the container to a class so I can use multiple instances on a form.
I spent a good bit of time getting things to look and work right in the container on the form designer with the understanding that I can simply bring it into the class designer when I have the bugs out.
Now it appears that I need to build the class one control at a time. Is this correct? Are there shortcuts I should be aware of? Would I have been better off developing in code to avoid duplicating effort when moving to class designer?
Thanks in advance for your help , Joe
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
SW4gRm9ybWRlc2lnbmVyLCBzZWxlY3QgdGhlIENvbnRhaW5lciBhbmQgY2hvb3NlIFN5c21lbnUgLyBGaWxlIC8gU2F2ZUFzQ2xhc3MuVmlvbGE6IHlvdSdyZSBkb25lLsKgd09PZHlWb24gbWVpbmVtL21laW5lciBHYWxheHkgZ2VzZW5kZXQKLS0tLS0tLS0gVXJzcHLDvG5nbGljaGUgTmFjaHJpY2h0IC0tLS0tLS0tVm9uOiBKb2UgWW9kZXIgPGpvZUB3aGV5cG93ZXIuY29tPiBEYXR1bTogMDQuMDcuMjQgIDE5OjIzICAoR01UKzAxOjAwKSBBbjogcHJvZm94dGVjaEBsZWFmZS5jb20gQmV0cmVmZjogRm9ybSBkZXNpZ25lciB0byBmaXJzdCB0aW1lIHVzZSBvZiBjbGFzcyBkZXNpZ25lciBJIGhhdmUganVzdCBjb21wbGV0ZWQgZGV2ZWxvcGluZyBhIGZvcm0gd2l0aCBhIGNvbnRhaW5lciB0aGF0IGhhc2VtYmVkZGVkIGNvbnRyb2xzLsKgIEkgd2FudCB0byBjb252ZXJ0IHRoZSBjb250YWluZXIgdG8gYSBjbGFzcyBzbyBJIGNhbiB1c2VtdWx0aXBsZSBpbnN0YW5jZXMgb24gYSBmb3JtLiBJIHNwZW50IGEgZ29vZCBiaXQgb2YgdGltZSBnZXR0aW5nIHRoaW5ncyB0byBsb29rIGFuZCB3b3JrIHJpZ2h0IGluIHRoZWNvbnRhaW5lciBvbiB0aGUgZm9ybSBkZXNpZ25lciB3aXRoIHRoZSB1bmRlcnN0Y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nlNSUQvQ0FCUWVEbldoX3hNYUZaTVJXazNzQUI2b0N3TmJ3UmhoekZmMStPTys1Z1lWRURfbTRRQG1haWwuZ21haWwuY29tKiogQWxsIHBvc3RpbmdzLCB1bmxlc3MgZXhwbGljaXRseSBzdGF0ZWQgb3RoZXJ3aXNlLCBhcmUgdGhlIG9waW5pb25zIG9mIHRoZSBhdXRob3IsIGFuZCBkbyBub3QgY29uc3RpdHV0ZSBsZWdhbCBvciBtZWRpY2FsIGFkdmljZS4gVGhpcyBzdGF0ZW1lbnQgaXMgYWRkZWQgdG8gdGhlIG1lc3NhZ2VzIGZvciB0aG9zZSBsYXd5ZXJzIHdobyBhcmUgdG9vIHN0dXBpZCB0byBzZWUgdGhlIG9idmlvdXMu--- StripMime Report -- processed MIME parts ---multipart/alternative text/plain (text body -- kept) text/html---
Joe,
would this work for you?
move your mouse over the container (not any of the contained objects), then type this in the command window:
ox = SYS(1270) ox.SaveAsClass("myclasslib","myclass") MODIFY CLASS myclass of myclasslib
Frank.
Frank Cazabon
On 04/07/2024 1:22 pm, Joe Yoder wrote:
I have just completed developing a form with a container that has embedded controls. I want to convert the container to a class so I can use multiple instances on a form.
I spent a good bit of time getting things to look and work right in the container on the form designer with the understanding that I can simply bring it into the class designer when I have the bugs out.
Now it appears that I need to build the class one control at a time. Is this correct? Are there shortcuts I should be aware of? Would I have been better off developing in code to avoid duplicating effort when moving to class designer?
Thanks in advance for your help , Joe
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]