Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Forms as Menu's w/o Main VFP Screen

Status
Not open for further replies.

gmattox

Programmer
Nov 5, 2001
15
US
Is there a way to use forms as menus (chained together) without getting the main VFP screen?
In other words, I want my security login form to be the only thing on the desktop when the system is executed then it will chain to the main menu.
Just thought I would ask.

Gary
 
_screen.visible = .f. && Not visible

and in your login form, after they login you can turn it back on

_screen.visible = .t. Please let me know if this helped you :)

Tekno
Wireless Toyz
Ypsilanti, Michigan
 
Gary,
Yes as long as both your login form and Main Menu form are Top-level forms and the rest of the application's forms are either Top-level or are "in" a Top-level form (and you've got an active READ EVENTS).

Rick
 
in config.fpw put SCREEN=OFF, my config is included in project

form property ShowWindow = 2, as top level form
form property DeskTop = True

in init of form do medmenu.mpr with this, .t.
Attitude is Everything
 
hi,

i'm trying to convert my existing CLIPPER 5 prg to Vs Foxpro. But i've encountered with quite a nos. of problems...

Below Example, i can replace with the SET KEY LABEL TO command, but it cannot work with all the key code, eg "*, -, /, +...". Is there any Command in Visual Foxpro can work
exactly like the CLIPPER SET KEY TO Command.

Can you explain to me how the previous FOXPRO, ON KEY & ON KEY =, command work??? i cannot find any reference book or web site having this information. Thanks!

Eg. the Clipper command, SET KEY TO

SET KEY TO -3 DO TEST *** -3 is ASCII code for F4
mTest = SPACE(10)
@ 2,2 SAY "Test" GET mTest PICTURE "@!"
READ

PROCEDURE TEST
mTest = "Ken Tan"
RETURN
 
Ken

Your questions are off-topic and need to be put in a new thread(s)

At the bottom of the main page, you will find the form for this.

Title the thread with a summary of your question and create a new thread for each question you would like answered. HTH

Chris [pc2]
 
Ken, try on key label command::

and remember, in vfp the && is the comment, not the *** (after the end of statement) Please let me know if this helped you :)

Tekno
Wireless Toyz
Ypsilanti, Michigan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top