Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Apr 28, 2017 10:28 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ListBox problem in windows ....
PostPosted: Thu Mar 07, 2013 8:22 am 
Offline

Joined: Thu Mar 07, 2013 8:04 am
Posts: 2
Hi all.

I have a strange problem under WIndows:

I compiled the windows-exe with a mac-version of RealStudio (MacVersion, Real Studio 2012 Release 2.1). In my application there is a ListBox with 3 columns. If I add rows by using

myListBox.AddRow content
myListBox.Cell(myListBox.LatestIndex,1) = content
myListBox.Cell(myListBox.LatestIndex,2) = content

and so on the result under OSX is perfect, and looks like this
1) Aaaa 1 2
2) Bbbb 3 4
3) Cccc 5 6
4) Dddd 7 8
...


but the EXE under windows generates an ListBox content like this


1) Aaaaa 1 2
2) 3 4
3) 5 6
4) 7 8
...


1),2),3) and 4) only types because the boardsoftware will delete leading blanks

So, only the first row has a visible first column, in all other rows the first column is empty. But, the content is somewhere, but I cant see it!?!

Under OSX everything looks and is perfect!

What is going wrong??


Top
 Profile  
 
 Post subject: Re: ListBox problem in windows ....
PostPosted: Thu Mar 07, 2013 8:46 am 
Offline

Joined: Thu Mar 07, 2013 8:04 am
Posts: 2
Solved:

If I use myListBox.AddRow Trim(content), everything works fine.

maybe there are some strange chars in content, I took the content out of the clipboard, so nobody knows ....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group