BBjListEdit::getOpenWidth

Description

In BBj 16.00 and higher, this method returns the width of the BBjListEdit control when the list is open.

Syntax

Return Value Method
number getOpenWidth()

Parameters

None.

Return Value

Returns the width of the opened list.

Remarks

None.

Example

rem ' BBjListEdit::getOpenWidth

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(100,100,250,250,"getOpenWidth",$00090003$)
window!.setCallback(window!.ON_CLOSE,"eoj")
text$ = ""
for i = 0 to 9
    text$ = text$ + "This is a very long listedit item " + str(i) + $0a$
next i
listedit! = window!.addListEdit(101,25,25,100,200,text$,$$)
print "BBjListEdit::getOpenWidth",listedit!.getOpenWidth()
listedit!.setOpenWidth(200)
print "BBjListEdit::getOpenWidth",listedit!.getOpenWidth()
process_events

eoj:
release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.