Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...The forum looks great! You guys have done a fantastic job on arranging things there...Your site is very precise and fun to visit..."

Geography

Where in the world do Tek-Tips members come from?
montjoile (Programmer)
18 Jan 12 17:43
Hi this so simply code is not working, and it's driving me crazy!
When my app starts I open a frame and a response window which is my login. What I want is the user enter the correct login, and then close the window, but I cannot close it. I don't know what am I doing wrong. Even if I open just my login window, this doesn't close.
Here is my code:
//In the open event of my app:
open(w_base)
open(w_login)

//in the ok button to submit the login in the w_login window (which is response):
close(w_login)


So simply but doesn't work. Even if I just open the w_login on the open event of my app, this is not closing! I already put some messageboxes to see what is happening inside, but nothing. when I put:
open(w_base)
open(w_login)
messagebox("test", "close it!!")

in the open event of my app, the messagebox is never shown. What is happening here?  
mbalent (Programmer)
19 Jan 12 6:50
From the help file:

CODE

A response window is always opened from within another window (its parent).

Open w_login from w_base and see what happens then.

Matt

"Nature forges everything on the anvil of time"
www.anvil-of-time.com

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close