OLK2007 : Compose vs Read page actions
Hello,
I am curious if there is a better way to differentiate when the form is in
compose verses read state. The reason I am asking is, in previous versions
of OLK the following code would adjust the size of the opening window to
accomodate all the fields in the form as follows:
Sub Item_Open()
If Item.CreationTime = #1/1/4501# Then
Set objInspector = Item.GetInspector
objInspector.Left = 600
objInspector.Width = 640
objInspector.Top = 345
objInspector.Height = 535
Set objInspector = Nothing
ElseIf Item.Size 0 Then
Set objInspector = Item.GetInspector
objInspector.Left = 650
objInspector.Width = 640
objInspector.Top = 230
objInspector.Height = 720
Set objInspector = Nothing
End If
End Sub
Now (with OLK 2007) I get different results depending on whether the OS is
Windows Vista or WinXP.
Thanks in advance...
--
Bill Billmire
|