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
  #21 (permalink)  
Old 10-18-2009, 03:37 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,

I tried to create a small example with "Visual Basic 2008" but, unfortunately it doesn't work.
Can you tell me why it doesn't work?


Ciao,
Filippo
Attached Images
File Type: jpg Basic4ppc.jpg (10.4 KB, 58 views)
File Type: jpg Visual-Basic-2008.jpg (13.9 KB, 50 views)
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #22 (permalink)  
Old 10-18-2009, 06:31 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 Filippo View Post
Can you tell me why it doesn't work?
Because it is not running under Basic4ppc! It needs some data from http://www.basic4ppc.com/forum/code-...arameters.html that are not present, specifically fixX and fixY that are returning negative values and stopping it drawing itself. It also seems to need cPPC but I don't know why. You can fool it by adding the data slots.

Code:
Imports System.Threading
...
Thread.SetData(Thread.GetNamedDataSlot("fixX"), CDbl(1))
Thread.SetData(Thread.GetNamedDataSlot("fixY"), CDbl(1))
Thread.SetData(Thread.GetNamedDataSlot("cPPC"), True)
list = New bList(Me)
...
@Arial - Blist.SuspendLayout and Blist.ResumeLayout are visible but not documented in the help.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #23 (permalink)  
Old 10-18-2009, 07:46 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 agraham,

many thanks, now works fine!
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #24 (permalink)  
Old 10-18-2009, 10:58 PM
Ariel_Z's Avatar
Basic4ppc Veteran
 
Join Date: May 2009
Posts: 246
Default

The first post will be updated soon - you are right, I've overlooked it. It's on it's way...

The reason for the cPPC is the different methods used to create the gradient on the ppc/desktop.
Reply With Quote
  #25 (permalink)  
Old 10-28-2009, 08:59 PM
Junior Member
 
Join Date: Dec 2008
Posts: 31
Default

Maybe you can integrate a second text line with an other font / fontsize.

So it would be possible to show for example in big font the "Name" and in the
second line "Small font" the address.
Reply With Quote
  #26 (permalink)  
Old 10-28-2009, 10:02 PM
Ariel_Z's Avatar
Basic4ppc Veteran
 
Join Date: May 2009
Posts: 246
Default

It is a very required feature. I'm considering just right now how to implement it. If you could start your application I think I'd be able to add it in the (near) future.
Reply With Quote
  #27 (permalink)  
Old 10-29-2009, 05:11 PM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 173
Default Errors in the bListItemFullDemo

This looks like a very nice library !

However, when I run the demo file "bListItemFullDemo" I get a couple of different error messages. One when clicking on the "Images" cell (Error1.jpg), and another the "Separation" cell (Error2.jpg). The other cells I tried worked very well.

I haven't analysed it, and it is probably just an error in the demo program and not in the dll, but I thought you should know about it just in case.

all the best / Björn
Reply With Quote
  #28 (permalink)  
Old 10-29-2009, 06:16 PM
Junior Member
 
Join Date: Dec 2008
Posts: 31
Default

I started programming an application, and I found out that the behavior from blist between Destop and Device is different.

In a list my first item is without an image, than the next items of the list are with images.
This work on the desktop but not on the device I get an error, something like image missing. Of course there is a workaround, by adding an image to all images.
Reply With Quote
  #29 (permalink)  
Old 10-29-2009, 10:44 PM
Ariel_Z's Avatar
Basic4ppc Veteran
 
Join Date: May 2009
Posts: 246
Default

Could you post the source?

EDIT:
The first two problems, shown by BjornF, is a bug in the sample program that demonstrates all features exposed by a bListItem. This is now fixed and should be uploaded in a few days. The first one is a bug with variable initialization, and the second one is a spelling mistake (it is now fixed and I expect some problems with it when I deploy the new dll - I'll explain it then)

Thank you for pointing them out - I really really appreciate it! There must be more bugs and I'd love to hear about them.


EDIT Oct. 30 2009:
Help file and the sample for the bListItem (Full Demo) is updated on the first thread: http://www.basic4ppc.com/forum/offic...-released.html.
Thanks to anyone who commented!

Last edited by Ariel_Z : 10-30-2009 at 01:46 PM.
Reply With Quote
  #30 (permalink)  
Old 10-30-2009, 03:04 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Ariel,

I just tried the last update of the bList library and noticed that:
- the FeaturesIm.png file is missing.
- The error in line 329
list.SeparateItemsWithRectangle = Not(list.SeparateItemsWithRectangle)
still remains.
- in the help file
(list.SeparateItemsWithRectangle = Not(list.SeparateItemsWithRectangle
the bracket at the beginning should be removed but one is missing at the end.

I have also tested the library before the last version as promised in another thread.
My comments:
- Pretty nice object !
- I was confused with the labeling of ClickedItem and LastClickedIndex. I understood at first that LastClickedIndex was the previous one, but they are referring to the same item. Why not name it simply ClickedIndex or SelectedItem and SelectIndex as for ComboBox and ListBox controls?
- The images are not AutoScaled.
- I agree with kohle that a second text line would be useful
- From a visual point of view I would have seen the scrolling with whole itemheights, even if it wouldn't be that smooth. But this is just my feeling.

Best regards.
__________________
Klaus
Switzerland
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:33 AM.


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