Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List Box problem 1

Status
Not open for further replies.

DannC

Programmer
Apr 5, 2001
75
RO
On a form i have two objects:
the first is a list box with the visible prop set to .t.
the second is a editbox but the visible prop is set to .f.

the problem:

when a key is pressed the editbox becomes visible and has the focus. if #13 is pressed the editbox becomes invisible but the blinking cursor still remains visible. Any ideas ?
 
Hi!

Before making edit box invisble, move focus somewhere else outside of the edit box, for example, back to the list box. You can use also SET CURSOR OFF command.

Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
In the InitEven of the EditBox put the code
This.Enabled = This.Visible ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top