TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: OLE ALMIND MORTENSEN
date: 1997-05-10 11:35:00
subject: Array consisting of sw_Shownormal, sw_sh11:35:4605/10/97

Hello All!
I'm trying to write a component, but I need a property which shows all the 
available showforms which is stated in the Win32API.
I can't figure how to create this array, or what ever it is.
Const
  CShowMode : Array[0..11] Of Integer=(SW_HIDE,SW_Maximize, Sw_Minimize,
                                       sw_Restore,Sw_show,SW_SHOWDEFAULT,
                                       sw_showmaximized,sw_showminimized,
                                       sw_showminnoactive,sw_ShowNa,
                                       SW_SHOWNOACTIVATE, sw_shownormal);
Type
  MyComp = class(Tcomponent)
  private
    FShowMode : CShowMode;
  Published
    Property Showmode : CShowMode Read FShowmode Write FShowMode;
End;
Please help!
Kind regards Ole
    E-Mail: Ole_Mortensen@Hotmail.com
--- Squish/386 v1.11
---------------
* Origin: None (2:237/10.150)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.