Tracy Pearson wrote:
> Do you change any LockScreen properties in your code?
>
>
Don't use lockscreen in my program but I'm sure I tried it and it made
no difference.
This is the screen code I use in my startup program.
WITH _Screen
.show
.WindowState = 2 && Maximized
.AddObject ( "Title2", "Title" )
.AddProperty('Aforms[20]',NULL)
.Title2.Top = .height - 100
.Title2.Left = .Title2.Left - 4
.Title2.ForeColor = RGB ( 255, 0, 0 )
.caption="Rajan X-Tra"
.FontName = "Courier New"
.FontSize = 12
.title2.caption="X-Tra"
.icon=ps_home+'theblackknightinarmour.ico'
ENDWITH
this uses a class defintion:
****************************************
DEFINE CLASS Title AS LABEL
FontName= [Times New Roman]
FontSize= 72
Visible = .T.
Width = 600
Height = 125
Top = _Screen.Height - 100
Left = 25
Caption = [X-Tra]
ForeColor=RGB ( 192,192,192 )
BackStyle= 0 && Transparent
ENDDEFINE
apart from that I call my menu
DO MENUS\RAJNEW.MPR WITH lcForm
ON SHUTDOWN do cleanup with 'Normal'
READ EVENTS
I don't normally load a form at startup so can't work out why this
portion of the screen is like it is.
> VFP 7 doesn't have BindEvents, from my recollection. However, there was a
> way connect to the screen events with an object. You might want to search
> the archives if you really want to go that way. I recall there were side
> affects to the process.
>
>
I'll have a look round.
Thanks,
Peter
----------------------------------------------------------------------------------------
This communication and the information it contains is intended for the person
or organisation to whom it is addressed.Its contents are confidential and may
be protected in law. Unauthorised use, copying or disclosure of any of it may
be unlawful.If you have received this message in error, please notify us
immediately by telephone or email.
While Rajan Imports has taken every reasonable precaution to minimise the risk
of virus transmission through email, we cannot accept liability for any damage
which you sustain as a result of software viruses.
It is the responsibility of the recipient to ensure that they have adequate
virus protection.
www.rajan-group.co.uk
Rajan Imports Ltd
Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700
Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.