Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Webbrowser and combobox, item not visible after enter
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00966761
Message ID:
00966820
Views:
7
The typed text is stored in This.DisplayValue.
LPARAMETERS nKeyCode, nShiftAltCtrl

IF nKeyCode = 13  THEN && Enter
	lExists = .F.
	FOR i = 1 TO this.ListCount 
		IF this.ListItem(i) = ALLTRIM(This.DisplayValue)
			lExists = .T.
                        EXIT
		ENDIF 
	ENDFOR 	
	IF NOT lExists 
		this.AddItem(This.DisplayValue)
	ENDIF 		
    thisform.oWeb.Navigate(This.DisplayValue) 
ENDIF
Sergey thank you very much for the feedback.

Zakaria al Azhar
Zakaria al Azhar
My blog on Actuaris.net
Previous
Reply
Map
View

Click here to load this message in the networking platform