OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Jim Short on November 04, 2008, 07:35:46 AM

Title: driven tab contol
Post by: Jim Short on November 04, 2008, 07:35:46 AM
I wish to cycle though tabs on tab control using dcl_Tab_SetCurSel  in a foreach loop. This works fine except that the child controls of each tab do not display until the routine completes. Is there an open dcl function that will complete the display of each tab before exiting the lisp routine?
Title: Re: driven tab contol
Post by: Fred Tomke on November 04, 2008, 01:16:49 PM
Hello Jim,

try a (dcl_control_forceupdate proj_form_tab) within the loop.

Fred
Title: Re: driven tab contol
Post by: Jim Short on November 04, 2008, 04:52:43 PM
Hi fred,

Thanks for sending me in the right direction. dcl_Control_ForceUpdateNow worked great!

Jim
Title: Re: driven tab contol
Post by: Fred Tomke on November 05, 2008, 01:28:45 AM
Hi Jim,

thanks for your reply. I didn't know that it would work. Now I know that.

Thanks,
Fred