Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bitmaps and Icons appear in wrong color
Message
 
To
08/07/1998 03:27:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00114939
Message ID:
00115223
Views:
20
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform