Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bitmaps and Icons appear in wrong color
Message
De
08/07/1998 03:27:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/07/1998 03:23:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00114939
Message ID:
00115169
Vues:
19
>Snip..
>>Cetin,
>>I know the code to create the cursor
>>create cursor _tempCur ( myPic g)
>>select _tempCur
>>
>>How do I add the bmp?
>>Insert into _tempCur (myPic) values ('myBMP.bmp') ?
>>Could I see an example of the code for this?
>>
>>
>>Robert
>My init code of form is like this :
create cursor _tempCur(myPic g)
>append blank
>append general myPic from myDummyBitmapFileName link
>this.addobject("DummyBMP","OLEBoundcontrol")
>with this.DummyBMP
>  .height = 20
>  .width = 10
>  .left = 0
>  .top = 0
>  .enabled = .f.
>endwith
>this.addobject("DummyCover","Shape")
>with this.DummyCover
>  .height = 21
>  .width = 11
>  .left = 0
>  .top = 0
>  .backcolor = this.BackColor
>  .BorderStyle = 0  && Transparent
>endwith
Cetin
Ohh, forgot :
this.DummyBMP.controlsource = _tempCur.mypic
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