I have been going nuts trying to figure out why the CommandButton captions do not appear in my CommandBar. Here's an example.
barbug;k;Œwself
© CommandBar bug
© Why don't the CommandButton captions appear?
© 'CommandBar' Œwi 'showtext' 1 is the default
© And, if you comment out the last button (bnExit),
© then the text *does* appear! Huh?
© 29 Oct 2006 Rex Swain, Independent Consultant, www.rexswain.com
Œwself„'fm' Œwi 'Create' 'Form' 'Hide'
Œwi 'size' 10 60
Œwself„':bar' Œwi 'New' 'CommandBar'
Œwi 'dock' 1 © 1=top
Œwi 'dockable' 0 © lock in current position
Œwi 'style' 8 © 8=no gripper
Œwself„'.bOpen' Œwi 'New' 'CommandButton'
Œwi 'caption' 'Open'
Œwself„'..bClose' Œwi 'New' 'CommandButton'
Œwi 'caption' 'Close'
Œwself„'..bSep1' Œwi 'New' 'CommandButton'
Œwi 'style' 1 © 1=separator
Œwself„'..bFM' Œwi 'New' 'CommandButton'
Œwi 'caption' 'Field Mapping'
Œwself„'..bPM' Œwi 'New' 'CommandButton'
Œwi 'caption' 'Package Mapping'
Œwself„'..bSep2' Œwi 'New' 'CommandButton'
Œwi 'style' 1
Œwself„'..bPrev' Œwi 'New' 'CommandButton'
Œwi 'caption' 'Preview Package'
Œwself„'..bPrint' Œwi 'New' 'CommandButton'
Œwi 'caption' 'Generate Package'
Œwself„'..bSep3' Œwi 'New' 'CommandButton'
Œwi 'style' 1
© ‡‡ Comment out next two lines, then button text appears!
Œwself„'..bExit' Œwi 'New' 'CommandButton'
Œwi 'caption' 'Exit'
k„':' Œwi 'Wait'