Miembro
 Asiduo
 
|
#1 Publicado: 4 Abr 2013 22:39
Otra función personalizada, que uso, y muestra uno si la ventana está maximizada y cero si no lo está
// Custom Function by Kevin Frank // Kevin Frank & Associates - www.kevinfrank.com // Purpose: to determine if an FM/Win window is maximized // Result: 1 if true, 0 if false (or if on FM/Mac) // Usage: cfWinMaximized [no parameters]
Case (
Abs ( Get ( SystemPlatform ) ) = 1 ; 0 ; Get ( WindowTop ) <> 0 ; 0 ; Get ( WindowLeft ) <> 0 ; 0 ; Abs ( Get ( ApplicationVersion ) ) >= 10 and Get ( WindowWidth ) - Get ( WindowContentWidth ) < 22 ; 1 ; Abs ( Get ( ApplicationVersion ) ) < 10 and Get ( WindowHeight ) - Get ( WindowContentHeight ) < 22 ; 1 ; 0
)
Si este mensaje te ha servido de ayuda dale tu voto
, si quieres penalizarlo
Matcon
Win7 /Ubuntu 12.10/Mint/Filemaker 12 adv
|