www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics




digitalmars.D.dwt - TableColumn DWT.LEFT causes seg fault

↑ ↓ ← Barry Denton <basse42 yahoo.com> writes:
for (int i=0; i<5; i++) {
                TableColumn column = new TableColumn (table, DWT.NONE);/
                            /NONE,LEFT,RIGHT.CENTER,LEAD.TRAIL
                column.setText (titles [i]); }

If you use anything but NONE it causes a seg fault
Docs say LEFT RIGHT CENTER
Addressbook uses NONE which works
DWT.d says LEAD and TRAIL also 
Mar 24 2008
Frank Benoit <keinfarbton googlemail.com> writes:
Barry Denton schrieb:
 for (int i=0; i<5; i++) {
                 TableColumn column = new TableColumn (table, DWT.NONE);/
                             /NONE,LEFT,RIGHT.CENTER,LEAD.TRAIL
                 column.setText (titles [i]); }
 
 If you use anything but NONE it causes a seg fault
 Docs say LEFT RIGHT CENTER
 Addressbook uses NONE which works
 DWT.d says LEAD and TRAIL also 

Ooops, you encountered the crash-at-tytowers-machine feature.
Mar 25 2008
↑ ↓ Ty Tower <tytower hotmail.com.au> writes:
Frank Benoit wrote:

 Barry Denton schrieb:
 for (int i=0; i<5; i++) {
                 TableColumn column = new TableColumn (table,
                 DWT.NONE);/
                             /NONE,LEFT,RIGHT.CENTER,LEAD.TRAIL
                 column.setText (titles [i]); }
 
 If you use anything but NONE it causes a seg fault
 Docs say LEFT RIGHT CENTER
 Addressbook uses NONE which works
 DWT.d says LEAD and TRAIL also

Ooops, you encountered the crash-at-tytowers-machine feature.

Whats this about then FrenchieFrank ? Whats it got to do with me Been on the Metho again?
Mar 25 2008
↑ ↓ → BCS <BCS pathlink.com> writes:
Ty Tower wrote:
 Frank Benoit wrote:
 
 
Barry Denton schrieb:

for (int i=0; i<5; i++) {
                TableColumn column = new TableColumn (table,
                DWT.NONE);/
                            /NONE,LEFT,RIGHT.CENTER,LEAD.TRAIL
                column.setText (titles [i]); }

If you use anything but NONE it causes a seg fault
Docs say LEFT RIGHT CENTER
Addressbook uses NONE which works
DWT.d says LEAD and TRAIL also

Ooops, you encountered the crash-at-tytowers-machine feature.

Whats this about then FrenchieFrank ? Whats it got to do with me Been on the Metho again?

It sounds to me (and I haven't read it in any detail) like he's saying someone reproed one of the errors you have been having. But I could be totally off base.
Mar 26 2008
→ Barry Denton <basse42 yahoo.com> writes:
Barry Denton Wrote:

 for (int i=0; i<5; i++) {
                 TableColumn column = new TableColumn (table, DWT.NONE);/
                             /NONE,LEFT,RIGHT.CENTER,LEAD.TRAIL
                 column.setText (titles [i]); }
 
 If you use anything but NONE it causes a seg fault
 Docs say LEFT RIGHT CENTER
 Addressbook uses NONE which works
 DWT.d says LEAD and TRAIL also 

Correction NONE LEFT & LEAD work RIGHT TRAIL & CENTER do not !
Mar 27 2008