Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Forelayer, please explain

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-03-2008, 07:37 AM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
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, 02:41 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 03:37 PM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
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 Off
Pingbacks are Off
Refbacks are On

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


All times are GMT. The time now is 09:44 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0