texbox.ini()
local oLstBox
thisform.addobject("oLstBox","listbox")
thisform.oLstBox.tabindex = this.tabindex + 1
others properties defined here
and textbox.lostfocus()
Xnam = Enf.nam
Scan rest while Xnam = Enf.nam
thisform.oLstBox.additem(Enf.lastname)
endscan
if thisform.oLstBox.listcount > 1
thisform.oLstBox.visible = .T. && or enabled
else
Thisform.oLstBox.clear
Thisform.oLstBox.visible = .F.
endif
>With textbox.keypress(), I can make a choice of name in all case.
>All are OK, excepts that, in appropriate case, listbox appears and disappears without any possibilities to make a choice.
>
>Where is my mistake ?
>Thanks a lot.JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."