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

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

Beta Versions This forum is the place to discuss issues regarding Basic4ppc beta versions.

Header structure

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-27-2008, 02:56 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,700
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default Header structure

The header structure was changed (and also fixed):
sbp file header:

version 'constant
6.40 'version
0 'number of forms - 1
Form1 'list of forms
238 'screen size
268
'icon file
1 'number of desktop libraries / included code files (for backwards compatibility)
ControlsEx.dll 'list of libraries / included code files
1 'number of device libraries / included code files
ControlsEx.dll 'list of libraries / included code files
4 'Number of objects
node2:Node 'list of objects
flb:FormLib
node1:Node
tree:TreeView
1 'Number of modules
FolderChooser 'module name
1 '1 means that this module should be added as a new tab. 0 means that it will be hidden (same as right clicking the tab and choosing Hide Module).
Sub designer 'designer text - New projects will not suffer from extra spaces or 'r' characters at the end of line.
addform(Form1,"Form1","",220,220,220)@
addlabel(form1,Label1,25,105,195,60,"Folder: ",220,220,220,0,0,0,True,True,9)@
addbutton(form1,Button1,60,25,105,50,"Choose Folder",212,208,200,0,0,0,True,True,9)@
End Sub
@EndOfDesignText@ 'The code starts one line after this one (unlike previous versions).


bas file structure:

version
6.40 'version
0 'number of forms - 1
Form1
3 'number of objects
Node2:Node
Node1:Node
Tree:TreeView
Sub designer
addform(Form1,"Folder Chooser","",211,211,211)@
addbutton(form1,btnSelect,145,235,75,23,"Select",2 12,208,200,0,0,0,True,True,9)@
addarraylist(form1,al1,155,20,80,25)@
End Sub
@EndOfDesignText@


Both structures are not final and may change in version 6.50.
Reply With Quote
  #2 (permalink)  
Old 08-27-2008, 05:57 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
1 'number of desktop libraries / included code files (depreciated)
What does "depreciated" mean. It might be that "deprecated" is intended but even then I don't understand
Reply With Quote
  #3 (permalink)  
Old 08-27-2008, 06:32 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,700
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Lets settle on "(for backwards compatibility)".
Included code files are text files that were added from the Components dialog.
Now that modules are supported there are no good reasons for using these files instead of modules.
Reply With Quote
  #4 (permalink)  
Old 08-27-2008, 07:37 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
What does "depreciated" mean. It might be that "deprecated" is intended but even then I don't understand
A ford model T is depreciated when compared with a ferrari maranello...It will still run, but the effort to do so is not worth the travel...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
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
Modifying the table column header mozaharul Questions (Windows Mobile) 2 05-12-2008 07:38 AM
Filling an array or structure. enonod Questions (Windows Mobile) 4 05-02-2008 11:56 AM
ChangeParent and Table Header emaster Questions (Windows Mobile) 2 12-08-2007 02:38 PM
The meaning of the header in the SBP file yildi Questions (Windows Mobile) 3 11-17-2007 02:46 PM
Structure variables Erel Code Samples & Tips 0 05-19-2007 10:36 AM


All times are GMT. The time now is 02:46 PM.


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