Author | Topic: tdgbox() | |
---|---|---|
Don Keating | tdgbox() on Mon, 16 May 2011 12:39:12 -0400 Hi Y'all, Someone please tell me is it posible to disable the minimize and maximize buttons on a tdgbox? If so, how? I've tried :setbtn("nominmax") and it crashes the app. Thanks you. >don< | |
Philip Jackson | Re: tdgbox() on Tue, 17 May 2011 10:34:25 +1200 Hi Don Try oDlg:SetBtn('none') Cheers Phil Jackson On 5/17/2011 4:39 AM, Don Keating wrote: > Hi Y'all, > > Someone please tell me is it posible to disable the minimize and maximize > buttons on a tdgbox? > > If so, how? > > I've tried :setbtn("nominmax") and it crashes the app. > > Thanks you. > > >don< | |
Don Keating | Re: tdgbox() on Mon, 16 May 2011 19:34:16 -0400 Thanks Phil, I've used the :setbtn for oDlg several times and it woks. But, it's tdgbox() not tddlg(). >don< On Tue, 17 May 2011 10:34:25 +1200, Philip Jackson wrote: > Hi Don > > Try oDlg:SetBtn('none') > > Cheers > > Phil Jackson > > On 5/17/2011 4:39 AM, Don Keating wrote: > > Hi Y'all, > > > > Someone please tell me is it posible to disable the minimize and maximize > > buttons on a tdgbox? > > > > If so, how? > > > > I've tried :setbtn("nominmax") and it crashes the app. > > > > Thanks you. > > > > >don< | |
Zupan Miran | Re: tdgbox() on Tue, 17 May 2011 10:34:45 +0200 S, Don Keating piše: > Thanks Phil, > > I've used the :setbtn for oDlg several times and it woks. > > But, it's tdgbox() not tddlg(). I use TD lib, but I dont understand this. tdGbox() creates a standard Windows group box on Win Dialog (tdDlg) without any button. tdDlg have min / max buttons, but you disable them with oDlg:setBtn("nominmax") Best regards Miran Zupan | |
Don Keating | Re: tdgbox() on Tue, 17 May 2011 06:17:39 -0400 Miran and Phil, I'm embrarassed is a great understatement. Of course the buttons are on the oDLG not the oGBOX. I'll try to be more careful in the future. >don< On Tue, 17 May 2011 10:34:45 +0200, Zupan Miran wrote: > S, Don Keating piše: > > Thanks Phil, > > > > I've used the :setbtn for oDlg several times and it woks. > > > > But, it's tdgbox() not tddlg(). > I use TD lib, but I dont understand this. > tdGbox() creates a standard Windows group box on Win Dialog (tdDlg) > without any button. > > tdDlg have min / max buttons, but you disable them with > oDlg:setBtn("nominmax") > > Best regards > Miran Zupan |