OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: eptownie1988 on September 23, 2009, 06:33:30 AM

Title: Dialog Box Issue
Post by: eptownie1988 on September 23, 2009, 06:33:30 AM
I have created a dialog box and when run inside of AutoCAD parts of it dissappear at times.  For example when I select a radio box everything is fine but when I go to input text in a text box the radio box and label dissappear.  I wondered if I have something set that needs to be changed.  Any help would be greatly appreciated.
Title: Re: Dialog Box Issue
Post by: owenwengerd on September 23, 2009, 07:46:56 AM
Does your form have any overlapping controls?  Can you upload a small sample that demonstrates the problem?
Title: Re: Dialog Box Issue
Post by: owenwengerd on September 24, 2009, 02:29:50 PM
I took a look at the files you sent. As I suspected, the problem is due to the overlapping controls. If you delete the tab control from your form in the sample, the problem disappears. The solution is to not have any overlapping controls on the form (put them on separate tab pages instead, and use the tab control to switch between pages).
Title: Re: Dialog Box Issue
Post by: eptownie1988 on September 25, 2009, 07:41:49 AM
I thought that was what I was doing when I had the SLC tab as the current tab and then placed my objects on that tab.  I notice 3 folders under form 1 that are labeled with each of the tab labels.  Do I place the objects on each of these pages?  The only thing is the properties box does not have any properties listed in it.
Title: Re: Dialog Box Issue
Post by: owenwengerd on September 25, 2009, 12:29:36 PM
Yes, put your controls on the tab pages. They will be addressed as if they are on the main form, but they will really be children of the tab control.
Title: Re: Dialog Box Issue
Post by: eptownie1988 on September 25, 2009, 07:18:38 PM
Owen, thanks for your support.  I have to say I really am enjoying learning about OpenDCL.  My mind is running wild with many ideas to be able to use OpenDCL with some AutoLISP routines that I have been wanting to write that will automate my time at work.  Many thanks also goes out to all the people involved with getting this program to its current version and capabilities.
Title: Re: Dialog Box Issue
Post by: owenwengerd on September 26, 2009, 03:51:31 PM
Thanks for the feedback. As long as people like you continue to use it and provide feedback, OpenDCL will continue to get better. :)