Class
Lcombobox_listbox
Home
In: locana/l_combobox.rb
Parent: Llistbox

This is the popup listbox window used by the Lcombobox class. It based on the Llistbox class but actually opens up as a popup style window (no title bar). It includes and extends the Lwindow_popup module defined in l_window.rb to make this Llistbox object look and act like a popup window. The color of the popup listbox always matches the color of the Lcombobox.

Methods

bg, default_border, fg, on_change, on_mouse_ldn, otype, set_focus, show, style, value=,
Included modules

Lwindow_popup
Public Instance methods
otype() src

Returns :topmost. The popup listbox window is always on top of other windows.

default_border() src

Returns the symbol to use as the default border for this object. Returns :solid is the default.

bg() src

Pulls the background color from the owner (the Lcombobox object).

fg() src

Pulls the foreground color from the owner (the Lcombobox object).

value=(new_value) src

Make sure we can see the value in the listbox. Assigning a new value to the listbox automatically calls the see() method to make sure the selected item is visible.

set_focus() src

Always redirect the focus to the owner or parent object (the Lcombobox).

on_mouse_ldn(levent=nil) src

Triggers the on_change event and push the focus back the owner (the Lcombobox).

on_change(levent=nil) src

Close the listbox and trigger the on_after_update event.

show() src

Determines and sets the position of the listbox window before we show it. Also Determines whether the popup listbox should appear above or below the textbox depending on how much room there is below the listbox.

style() src

Returns the owners style. This object uses the same style as the owner (Lcombobox)


Seva Software


Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com