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

Click here to load this message in the networking platform