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.

table col width

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2007, 08:14 PM
Knows the basics
 
Join Date: May 2007
Posts: 63
Default table col width

hi,
Simple peace of script result still that the col width is the same?
what went wrong?

i cannot change the width whatever i tried.


Table1.AddCol(cString,"Item",30,False)
Table1.AddCol(cString,"Description",90,False)
Reply With Quote
  #2 (permalink)  
Old 06-16-2007, 08:25 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Can you attach a screen shot of the result?
Reply With Quote
  #3 (permalink)  
Old 06-16-2007, 08:29 PM
Knows the basics
 
Join Date: May 2007
Posts: 63
Default

Quote:
Originally Posted by Erel View Post
Can you attach a screen shot of the result?
Yes
Attached Images
File Type: jpg table width.JPG (26.4 KB, 31 views)
Reply With Quote
  #4 (permalink)  
Old 06-16-2007, 08:57 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Please try to run the attached code.
Attached Files
File Type: sbp a.sbp (455 Bytes, 21 views)
Reply With Quote
  #5 (permalink)  
Old 06-16-2007, 09:09 PM
Knows the basics
 
Join Date: May 2007
Posts: 63
Default

Very strange Erel,

The sample you provide works oke,

I'll post the source that i used.
Attached Files
File Type: sbp V1.sbp (2.9 KB, 20 views)
Reply With Quote
  #6 (permalink)  
Old 06-16-2007, 09:16 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The XML file includes the columns declaration (type, size and unique).
I recommend you to use CSV files instead as they are smaller, faster and apparently there is an issue with XML in complex tables.
Reply With Quote
  #7 (permalink)  
Old 06-16-2007, 09:18 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 614
Awards Showcase
Beta Tester 
Total Awards: 1
Default

The problem is with the XML file that you are loading, it is setting the width of the columns.

Regards,
RandomCoder

EDIT: Sorry, beat to the solution, Erel is far to quick for us mere mortals ;-)
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #8 (permalink)  
Old 06-16-2007, 09:24 PM
Knows the basics
 
Join Date: May 2007
Posts: 63
Default

Yes thanks guys,

still strange because if there is no XML exists it should be saved an empty one with width data on it. (i supose the width is one of them)

i will rewrite it to CSV files.

Thanks
Reply With Quote
  #9 (permalink)  
Old 06-16-2007, 09:41 PM
Knows the basics
 
Join Date: May 2007
Posts: 63
Default

After change to CSV is works

thanks
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
IDE subs list width klaus Beta Versions 1 09-28-2008 04:56 AM
Is it possible to set a width of the scrollbar? aeror Questions (Windows Mobile) 2 06-19-2008 11:22 AM
Pen width and XOR drawing enonod Questions (Windows Mobile) 2 06-01-2008 07:43 PM
Change Image width and Height Georg Questions (Windows Mobile) 3 05-13-2008 04:19 PM
sqlite col width dennishea Questions (Windows Mobile) 1 01-20-2008 08:00 PM


All times are GMT. The time now is 12:35 AM.


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