Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Show Form Hide
Message
From
14/02/2003 08:11:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/02/2003 07:50:41
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00752644
Message ID:
00753161
Views:
18
>I don't think that I am understanding the function correctly because nothing happens when I click on the menu item. I was to put the function in the program that runs the form - correct?
>
>Sorry, I am somewhat new to the Visual side of Foxpro.

Julie,
Did you try Marcia's suggestion ? I'd suggest same. ie: Add a custom property ShowOnRelease to formB :
*FormB.load
IF TYPE( '_Screen.ActiveForm' ) = 'O' AND !isnull( _Screen.ActiveForm )
  this.ShowOnRelease = _Screen.ActiveForm
  _Screen.ActiveForm.Hide()
ENDIF

*FormB.unload
IF TYPE( 'this.ShowOnRelease' ) = 'O' AND ;
  !isnull(this.ShowOnRelease) and ;
  lower(this.ShowOnRelease.Baseclass) = 'form'
   this.ShowOnRelease.Show()
ENDIF
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