
Originally Posted by
wolfo
How does it know where to look for the images when only the name of the image is assigned to the class?
What are you referring to here?
Images are given to each control like this:
Code:
Button1.Image = theHost.getSkinImage("menuButton");
The code above would load an image from the current skin folder. I wanted to get an image from a subfolder from the current skin folder I could do this:
Code:
Button1.Image = theHost.getSkinImage("subfolder|menuButton");

Originally Posted by
wolfo
What attributes should one pay attention to for OMButton, OMImage, OMList, etc?
This is a pretty big question... This depends greatly on what your trying to achieve. But the main ones is name, left, top, width and height. These are generic for all controls then comes the spesific ones based on what type of control you're using.
You can find documentation here: http://openmobile.sourceforge.net/wi.../Documentation although some off it might be slightly outdated.
I'd download the plugin sample and play around with that one together with the latest svn as this would give you a feel for how controls and skinning behaves. You could also look at the controldemo plugin (this is the one we use for testing controls).
I don't know if this guides you in the direction you wanted but I don't know how familiar you are with programming so let me know if I missed the ballpark completely.
Cheers
Borte
Bookmarks