Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bitmaps and Icons appear in wrong color
Message
 
À
08/07/1998 03:27:06
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:
00115223
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

Got it. Thanks so much.
Robert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform