Multiline String Gadget

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Jon.

Ok I have tried various tags(?) to try and make the text wrap at the end of each line but all I get is centered or right/left justified? Any one know how to do this?

Here's the line of code.......

StringGadget(0,10,10,200,100,t$,#PB_String_Multiline|#ES_AUTOVSCROLL|#WS_VSCROLL)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> Ok I have tried various tags(?) to try and make the text wrap at
> the end of each line

viewtopic.php?t=4876

See Fang's contribution when you find the MultiLine link there.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Jon.

Thank you PB, I had that example saved but had not realised I had it, very cool :) I AM Sooooo happy :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

I've looked at the examples and played with various combinations of flags but cannot get what I want: multiline, left justified with wrapping. Any hints?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by El_Choni.

Take a look here:

viewtopic.php?t=4959

Bye,

El_Choni
Post Reply