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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to activate the calendar in the top level form?

Status
Not open for further replies.

foxwizard

Programmer
Aug 23, 2001
81
PH
Hi,

How can i activate the calendar in the top level form while the main foxpro window screen's visible property has been set to false? Using visual foxpro v6.0.

Thanks ....

foxwizard.
 
what calendar are you talking about? Attitude is Everything
 
danceman,

I'm referring to the command 'activate window calendar'.

foxwizard
 
I don't think you'll be able to activate the calendar in a top level form. It seems to only show up on foxpro's screen object.

Better to use a calendar control.

Also, even though the calendar is still available I wouldn't base code on it. It's too quirky.

If you really need to use it, control the look of the screen object and just activate it there.(ie. _screen;top,left,titlebar, menus, etc.)


Darrell
'We all must do the hard bits so when we get bit we know where to bite' :)
 

Foxwizard, is it possible with the correct syntax ;-)

Code:
PUBLIC oDiary
oDiary= CREATEOBJECT("Diary")
oPrint.SHOW()
ACTIVATE WINDOW calendar IN WINDOW "Diary"
DEFINE CLASS Diary as Form
 titlebar = 0
 Showwindow = 2 &&Top level
 name = "Diary"
 height = 300
 width = 500
ENDDEFINE
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top