Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Forelayer, please explain


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-03-2008, 08:37 AM
Knows the basics
 
Join Date: Oct 2007
Posts: 90
Default Forelayer, please explain

Can somebody please educate me on the Forelayer to a form. I have never come across this in other languages and the only thing that rings bells is the Canvas in Delphi.

The help file on this subject is a little curt.
Is there only one Forelayer?
Does that mean there are two layers, Form and Forelayer?
Can they be switched between? At speed?
Can it be sent to back etc.
If I can draw on the Form why have a Forelayer?
Why was it introduced?

Anything else you can tell me about it

Finally, thank you.
Reply With Quote
  #2 (permalink)  
Old 06-03-2008, 03:41 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

There is the default layer which you can call the backlayer and the forelayer (only one).
The forelayer allows you to easily draw moving objects without redrawing the background.

You can't switch the layers.
Here is an example that uses the forelayer:
http://www.basic4ppc.com/files/BouncingSmiley.zip

The forelayer was introduced in version 3.00 and libraries where not supported at that time.
It is now possible to use ImageLib (and other image libraries) to do such things.
However the forelayer is still useful as it is very simple to use.
Reply With Quote
  #3 (permalink)  
Old 06-03-2008, 04:37 PM
Knows the basics
 
Join Date: Oct 2007
Posts: 90
Default

Thank you Erel
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forelayer text colour and weight! agraham Bug Reports 4 10-09-2008 12:39 PM
Forelayer not working(?) Cableguy Questions & Help Needed 5 08-16-2008 12:52 PM
Form Forelayer on top of other controls ? klaus Questions & Help Needed 2 08-01-2008 03:32 PM
abit difficult to explain but i'll try Cableguy Basic4ppc Wishlist 1 09-14-2007 10:13 PM
forelayer drawing flashing and jumping hung Basic4ppc Wishlist 0 08-22-2007 05:40 AM


All times are GMT. The time now is 04:35 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0