Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the active form.....
Message
From
15/07/1998 13:07:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/07/1998 13:04:21
Larry Santos
Local Data System
Philippines
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00117679
Message ID:
00117682
Views:
16
>Hi,
>
> How to check if the form is already active?
>
> IF WEXIST('frmPosition') && Form.Name property
> ACTIVATE WINDOW frmPosition && Form.Name property
> ELSE
> DO FORM 'Position'
> ENDIF
>
> wexist() doesnt work....
>
>Thanks and advance
>Larry Santos
Larry,
Loop through _screen.forms :
for each oForm in _screen.forms
  if oForm.name = cFormName
  ...
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