![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
It is better to leave Sub Globals for variables declarations only.
1. The second time you are using GetPixel is after drawing the purple circle. So the color returned is the small circle color (cPurple). 2. If you want to draw on the forelayer, you need to first create it using: Form1.ForeLayer = true |
|
||||
|
I too have had similar problems to this with one of my app's. I was finding that the colour of my image (say white for example) was not being detected as cWhite. When I checked the RGB values of cWhite and my white background I found they were different. As a work around I used GetPixel to obtain the RGB value for the background colour and stored this for use later.
Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
|
||||
|
Funny...
There are at least two color constatnt that should always be the same in whatever platform is used...cwhite=rgb(255,255,255);cblack=rgb(0,0,0)
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
Agreed, they got moved there as part of the bug tracking attempt.
Quote:
![]() Quote:
That makes the score Erel 4, Linecutter 0. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SQL errors | skipper | Questions & Help Needed | 3 | 12-17-2007 10:51 AM |
| From.GetPixel on the Device | alfcen | Questions & Help Needed | 4 | 07-11-2007 12:15 PM |
| Table errors | Big JR | Questions & Help Needed | 8 | 06-09-2007 10:12 AM |
| ImageLib example - BouncingSmiley | Erel | Code Samples & Tips | 0 | 05-20-2007 08:49 AM |
| Missing ImageLib.dll | specci48 | Bug Reports | 1 | 05-19-2007 06:50 PM |