www.digitalmars.com         C & C++   DMDScript  

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

reply 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
next sibling parent reply 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
parent reply 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
parent 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
prev sibling parent 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