Form transparency

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Form transparency

Post by esgici »

Can we hope a high level library function for adjusting transparency of form :?

Viva HMG :D
Viva INTERNATIONAL HMG :D
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Form transparency

Post by serge_girard »

+1
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Form transparency

Post by srvet_claudio »

Friends, see:

Code: Select all

New Properties:
 
 
      ThisWindow|<FormName>.Handle            --> nFormHandle
      ThisWindow|<FormName>.Index             --> nFormIndex
      ThisWindow|<FormName>.IsMinimized       --> lBoolean
      ThisWindow|<FormName>.IsMaximized       --> lBoolean
      ThisWindow|<FormName>.ClientAreaWidth   --> nWidth
      ThisWindow|<FormName>.ClientAreaHeight  --> nHeight
 
      ThisWindow|<FormName>.NoCaption   [ := | --> ] lBoolean
      ThisWindow|<FormName>.NoMaximize  [ := | --> ] lBoolean
      ThisWindow|<FormName>.NoMinimize  [ := | --> ] lBoolean
      ThisWindow|<FormName>.NoClose     [ := | --> ] lBoolean
      ThisWindow|<FormName>.NoSize      [ := | --> ] lBoolean
      ThisWindow|<FormName>.NoSysMenu   [ := | --> ] lBoolean
      ThisWindow|<FormName>.HScroll     [ := | --> ] lBoolean
      ThisWindow|<FormName>.VScroll     [ := | --> ] lBoolean
      ThisWindow|<FormName>.Enabled     [ := | --> ] lBoolean
 
      ThisWindow|<FormName>.AlphaBlendTransparent := nAlphaBlend (0 to 255, Completely Transparent = 0, Opaque = 255)
      ThisWindow|<FormName>.BackColorTransparent  := aRGBColor
 
 
 
 
# Visual Effects on Windows
 
 
-    SET WINDOW FormName TRANSPARENT TO COLOR aRGBColor
-    SET WINDOW FormName TRANSPARENT TO nAlphaBlend  --> nAlphaBlend = 0 to 255 (completely transparent = 0, opaque = 255)
-    SET WINDOW FormName [ TRANSPARENT ] TO OPAQUE
 
 
-    FLASH WINDOW FormName CAPTION COUNT nTimes INTERVAL nMilliseconds
-    FLASH WINDOW FormName TASKBAR COUNT nTimes INTERVAL nMilliseconds
-    FLASH WINDOW FormName [ ALL ] COUNT nTimes INTERVAL nMilliseconds
 
 
-    ANIMATE WINDOW FormName INTERVAL nMilliseconds MODE nFlags
-    ANIMATE WINDOW FormName MODE nFlags
 
- MODE <nFlags> (see the function AnimateWindow() in the API Window Reference), constants defined in i_Window.ch
#define AW_HOR_POSITIVE 0x00000001
#define AW_HOR_NEGATIVE 0x00000002
#define AW_VER_POSITIVE 0x00000004
#define AW_VER_NEGATIVE 0x00000008
#define AW_CENTER       0x00000010
#define AW_HIDE         0x00010000
#define AW_ACTIVATE     0x00020000
#define AW_SLIDE        0x00040000
#define AW_BLEND        0x00080000
 
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Form transparency

Post by serge_girard »

Thank you so much Claudio !

Serge
There's nothing you can do that can't be done...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Form transparency

Post by esgici »

Hola Hidalgo

HMG 3.1.5 (2013/07/31) :!: :o

Sorry, very sorry :oops: ;

and muchas gracias :arrow:

Viva HMG, viva Dr. Soto !
Viva INTERNATIONAL HMG :D
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Form transparency

Post by serge_girard »

Sometimes, because of all the trees, one cannot see the forest....

S
There's nothing you can do that can't be done...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Form transparency

Post by esgici »

serge_girard wrote:Sometimes, because of all the trees, one cannot see the forest....

S
+1
Viva INTERNATIONAL HMG :D
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Form transparency

Post by serge_girard »

And I wear glasses, no Google glasses..

S
There's nothing you can do that can't be done...
Post Reply