|
-
May 4th, 1999, 09:07 AM
#1
Is this Active X? Custom Control? Suggestions?
I use a search process in many places throughout my application that uses an edit, a list box, and a check box.
What's the best way to group these three controls together so they can be created and accessed consistently from many different places? The three controls are always within dialogs but are never the only controls on the dialog.
Can you put a dialog within a dialog so the search controls can reside in a DLL? Or should I be exploring ActiveX?
Thanks in advance.
-
May 7th, 1999, 04:34 AM
#2
Re: Is this Active X? Custom Control? Suggestions?
I used for this problem an ActiveX Control. A Sample Code to create an ActiveX
with Child Controls is in my Question about Active X an Tabbing.
But I have Problems with the Tabbing in the Dialog.
If you want to use a Dialog in a Dialog this works. You must Create the Client Dialog in an Formview an Place this in the Dialog dynamicly.
I hope it Helps
-
May 7th, 1999, 09:17 AM
#3
Re: Is this Active X? Custom Control? Suggestions?
Thanks for your help.
Actually I ended up using a Dialog in a Dialog but I didn't use a formview. Just created the child dialog in the OnInitDialog of the parent Dialog. I put a Static on the parent Dialog as a "placeholder" for the child and, in the OnInit for the child just moved it to the co-ordinates of the static.
Tabbing order is a bit of a trick though. It really does have to be the last control on the page doesn't it?
Thanks again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|