http://img708.imageshack.us/img708/7053/daboradio1.png
The above link is a snapshot of the radio control. You'll note that it is not
inline with other items. The pic is from a Linux box, but it looks the same
on a windows box (just can't see the shadow). Below is the code. All that
I'm doing is placing the radio control in a dabo.ui.dSizer('h') then adding
the HS to a Vert sizer.
hs= dabo.ui.dSizer('h')
self.mytoolbar=HeaderToolBar(self)
hs.append(self.mytoolbar,0,'x')
hs.appendSpacer(20)
hs.append(dabo.ui.dButton(self, TabStop = False,
Caption="STUDENT",RegID='locbutton',BackColor='green',FontSize=20),0)
hs.appendSpacer(80)
#vs.append(hs,0)
#hs= dabo.ui.dSizer('h')
hs.append(dabo.ui.dLabel(self, Caption =' '),2,'x')
hs.append(dabo.ui.dRadioList(self,ButtonSpacing = 15,RegID='lktypeID',
Choices =["Client","Enrolled"],Orientation ='Horizontal'),0)
hs.appendSpacer(8)
#hs.append(dabo.ui.dLabel(self, Caption = 'Client ID '))
hs.append(dabo.ui.dTextBox(self, TabStop = False, RegID = 'clientID',
DataSource = self.Form.esclient, DataField = 'pkid'),0)
hs.appendSpacer(3)
Efindbtn=dabo.ui.dBitmapButton(self, TabStop = False,
RegID="btnclientID", Picture="find",BorderWidth=1,BorderColor="blue")
Efindbtn.bindEvent(dEvents.Hit, self.OnCompFindBtn)
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]