Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show form as circle
Message
De
19/08/2004 05:02:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/08/2004 04:30:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00934377
Message ID:
00934416
Vues:
22
Boris warned me you were asking for VFP6 :)
oForm = Createobject('myForm')
oForm.Show
Read Events

Define Class myForm As Form
    BorderStyle = 0
    Width = 260
    Height = 260
    TitleBar = 0
    DoCreate = .T.

    Add Object btnExit As CommandButton With ;
        Height = 30, Width = 40, Left = 110, Top = 115, Caption = 'Exit'

    Procedure Init
    Declare Integer CreateEllipticRgn In gdi32 ;
        INTEGER X1 , Integer Y1 , Integer X2 , Integer Y2
    Declare Integer SetWindowRgn In user32 ;
        INTEGER HWnd, Integer hRgn , Integer bRedraw

    Set library to home()+'Foxtools.fll'
    This.Caption = sys(2015)

    SetWindowRgn(_WhToHWnd(_WFindTitl(this.caption)), ;
        CreateEllipticRgn(0,0, This.Width, This.Height), 1)

Endproc
    Procedure btnExit.Click
    Clear Events
    Thisform.Release
Endproc
Enddefine
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform