Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed 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: 60
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: 3,132
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: 60
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, 26 views)
Reply With Quote
  #4 (permalink)  
Old 06-16-2007, 08:57 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,132
Default

Please try to run the attached code.
Attached Files
File Type: sbp a.sbp (455 Bytes, 16 views)
Reply With Quote
  #5 (permalink)  
Old 06-16-2007, 09:09 PM
Knows the basics
 
Join Date: May 2007
Posts: 60
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, 16 views)
Reply With Quote
  #6 (permalink)  
Old 06-16-2007, 09:16 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,132
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 Veteran
 
Join Date: May 2007
Location: UK
Posts: 485
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 ;-)
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"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: 60
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: 60
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 On
Pingbacks are On
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 & Help Needed 2 06-19-2008 11:22 AM
Pen width and XOR drawing enonod Questions & Help Needed 2 06-01-2008 07:43 PM
Change Image width and Height Georg Questions & Help Needed 3 05-13-2008 04:19 PM
sqlite col width dennishea Questions & Help Needed 1 01-20-2008 08:00 PM


All times are GMT. The time now is 12:39 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0