B4J Question VB6 Listbox

sp2d

Member
Licensed User
I am new at B4J and trying to replace a VB6 app. It uses a listbox where you could type in it and it would align to the first item that matched what you were typing.
 

sp2d

Member
Licensed User
I downloaded the zip file for searchview.82007 but had trouble with Reflection ... says I am missing a library.

Public Sub DesignerCreateView (Base As Pane, Lbl As Label, Props As Map)
mBase = Base
highlightColor = Props.Get("HighlightColor")
textColor = Props.Get("TextColor")
Sleep(0) 'it is not possible to load a layout while another one is loaded. By using Sleep we wait for the first layout to be loaded.
mBase.LoadLayout("SearchView")
lv.Visible = False
Dim r As Reflector
r.Target = et
r.AddEventFilter("et", "javafx.scene.input.KeyEvent.KEY_PRESSED")
r.Target = lv
r.AddEventFilter("lv", "javafx.scene.input.KeyEvent.KEY_PRESSED")

End Sub

Logs say "Unknown type reflector .. Are you missing a library reference?"
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top