Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POPUP - How to force a choice?
Message
From
04/05/1998 13:41:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00096770
Message ID:
00096779
Views:
13
>If I DEFINE and ACTIVATE a POPUP, how do I force a selection to be made? For example, prevent user from clicking outside popup window and deactivating popup leaving PROMPT() = "" TIA
Code better explains what I mean.
define popup mypop from 3,10
for ix = 1 to 20
	define bar ix of mypop prompt "Val"+str(ix)
endfor
cPopValue = "Val"+str(1)
on selection popup mypop cPopValue = deacpop()
activate popup mypop
? cPopValue

function deacpop
cPopValue = prompt()
deactivate popup mypop
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform