A fix for this problem is available via Public Fix Level (PFL)
182306. Please visit www.alaska-software.com (support section)
for further information.
Try setting the :clipChildren instance variable of the group box's
parent to .T. (TRUE) before calling :create(). In most cases, this
will be a dialog's drawing area. However, if the group box and its
childs is placed on another XbasePART, eg. a tab page, that object's
:clipChildren setting must be changed. Example:
// Create application dialog, contains a group box
// with radio buttons. Note the change of the
// :clipChildren setting of the drawing area
// that serves as the parent for the group box
oDlg := XbpDialog():new( ... )
oDlg:drawingArea:clipChildren := .T. // (work-around)
(...)
oDlg:create( ... )
// Create static of type "group box" as the parent
// for the radio button object
oBox := XbpStatic():new( oDlg:drawingArea, ... )
oBox:type := XBPSTATIC_TYPE_GROUPBOX
(...)
oBox:create( ... )
// Create radio button object
oRd := XbpRadioButton():new( oBox, ... )
(...)
oRd:create( ... )
|