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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Official Updates
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Official Updates Updates to official libraries could be found here.
This forum is only available to licensed users.

bList v0.9 (beta) released

Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 12-19-2009, 02:04 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Erel View Post
however I'm not aware of such tools for the device.
What about my http://www.basic4ppc.com/forum/addit...es-device.html
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #42 (permalink)  
Old 12-19-2009, 03:09 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It was correct at the time of writing...
__________________
Basic4android documentation
Reply With Quote
  #43 (permalink)  
Old 12-19-2009, 03:36 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 918
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

To those who suffer from memory problems when showing a long list - see my TMUNA application. I'm using the jpeg library and get many thumbnails of 40*40 with no memory problems.
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #44 (permalink)  
Old 12-19-2009, 11:12 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 906
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Erel,
I have a problem with the new dll and that no longer works with Visual Basic 2008. With the release of 20.09.2009 it has worked very well.

The error is thrown in this line:

Private WithEvents list As blist
list = New bControls.bList (pnlPanel, 2, 2, pnlPanel.Width - 4, pnlPanel.Height - 4)

Error= NullReferenceException

What is different with the new version?


Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #45 (permalink)  
Old 12-20-2009, 12:09 AM
Knows the basics
 
Join Date: Dec 2008
Posts: 77
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
Version 0.92 is attached in the first post.
The responsiveness of items to the click event on VGA screens was improved.
Thank's new version works much better.
Reply With Quote
  #46 (permalink)  
Old 12-20-2009, 05:02 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Quote:
Hi Erel,
I have a problem with the new dll and that no longer works with Visual Basic 2008. With the release of 20.09.2009 it has worked very well.

The error is thrown in this line:

Private WithEvents list As blist
list = New bControls.bList (pnlPanel, 2, 2, pnlPanel.Width - 4, pnlPanel.Height - 4)

Error= NullReferenceException

What is different with the new version?


Ciao,
Filippo
Please send me an email to erel@basic4ppc.com with this issue.
__________________
Basic4android documentation
Reply With Quote
  #47 (permalink)  
Old 12-29-2009, 07:46 PM
Junior Member
 
Join Date: Dec 2008
Posts: 31
Default

When I remove an item with a pic from a list. I can´t delete the pic file with FileDel.
The error message says that the file is still in use by blist
Reply With Quote
  #48 (permalink)  
Old 12-29-2009, 07:58 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Before you remove the item, put it in a bListItem object. Remove the item and then call bListItem.Dispose.
Note that you will need to then call AddObject and New1 for the bListItem if you want to continue you using the item holder.
__________________
Basic4android documentation
Reply With Quote
  #49 (permalink)  
Old 12-30-2009, 11:51 AM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Borchen, Germany
Posts: 434
Send a message via ICQ to corwin42
Awards Showcase
Beta Tester 
Total Awards: 1
Default Custom Layout for list items

This control is really great!

I am planning to write a portfolio manager and thought about using bList for the list of shares. At first I thought I will get problems because I want to display additional information like the current value of the share in the list.

After sleeping a night about it I found the solution and I now present you the completely customizable bListItem layout engine and it is really easy to do it.

The trick is to use a bitmap that has exactly the size of one bListItem. Then write a custom drawing function that just draws on this bitmap and then assign this bitmap to the bList item.

It is even possible to select an item. Just get the bitmap back from the bListItem and redraw it in selected state.

See the little example for details. (Needs ImageLibEx.dll and of course bList.dll)

The only limitation I can see on this is that you need a fullsize bitmap for every bListItem so you need some memory for very large lists.

I have two questions:
1. Will you provide the .cs file in the future so we can merge the dll into the executable?
2. Would it be possible to display something like a position indicator at the right of the list so the user can see if he can scroll up or down any more?
Attached Images
File Type: jpg blistTest.jpg (19.7 KB, 113 views)
Attached Files
File Type: sbp bListTest.sbp (4.3 KB, 71 views)

Last edited by corwin42 : 12-30-2009 at 01:59 PM.
Reply With Quote
  #50 (permalink)  
Old 12-30-2009, 09:16 PM
Junior Member
 
Join Date: Dec 2008
Posts: 31
Default

Good idea ! But don´t work with compile autoscale yet
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
V6.80 released to beta testers Erel Beta Versions 3 06-07-2009 08:55 PM
Basic4ppc V6.80 - first beta is released Erel Announcements 0 04-24-2009 06:58 AM
Version 6.50 BETA is released Erel Announcements 7 09-01-2008 09:08 AM
Basic4ppc V6.30 Beta (6.25) released Erel Announcements 0 05-05-2008 04:14 PM
Basic4ppc V6.00 - Beta is released Erel Announcements 0 12-16-2007 06:55 PM


All times are GMT. The time now is 02:17 AM.


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