New topic: 

ListBox problem in windows ....

<http://forums.realsoftware.com/viewtopic.php?t=47198>

  Page 1 of 1
 [ 2 posts ]  Previous topic | Next topic AuthorMessageAlpino Post subject: 
ListBox problem in windows ....Posted: Thu Mar 07, 2013 8:22 am 
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  Alpino Post subject: Re: ListBox problem in windows ....Posted: Thu Mar 
07, 2013 8:46 am 
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  Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 
months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1
 [ 2 posts ] 
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to