
BBjNavigator::setButtonWidth
Description
In BBj 13.0 and higher, this method sets the width of the buttons in a BBjNavigator control.
Syntax
Return Value |
Method |
---|---|
void |
setButtonWidth(int width) |
Parameters
Variable |
Description |
---|---|
width |
Specifies the width of the four navigation buttons. |
Return Value
None.
Remarks
The default button width is 20 pixels.
Example
Copy
rem ' BBjNavigator::setButtonWidth
sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(100,100,400,150,"Navigator",$00090003$)
window!.setCallback(window!.ON_CLOSE,"eoj")
navigator! = window!.addNavigator(101,50,50,300,50,"Navigator",$0000$)
navigator!.setButtonWidth(50)
process_events
eoj:
release
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.