Declaring pens and brushes for mobile

myblueocean

Well-known member
Joined
Jun 29, 2007
Messages
161
Location
England
Programming Experience
Beginner
Does anyone know about declaring pens and brushes, even when your code is in the "paint" event select thing...:p :confused:

It doesn't make sense, unless windows on the pc and the pocket pc have slightly different colour system altogether....:eek:
 
Last edited:
Pen and SolidBrush class is supported in all Framework version the documentation says. TextureBrush from CF version 2.0. HatchBrush and LinearGradientBrush not supported in CF. You declare like any other class; Dim variablename As theType. Dim b As Brush.
 
So for example

Above "'Draw a blah blah"

Dim graphics as pens?

Or the same thing above but use brush as you've said?
 
Back
Top