IonicWind Software

Aurora Compiler => General Discussion => Topic started by: ExMember001 on August 18, 2006, 01:07:51 PM

Title: bug with richedit setmargins()?
Post by: ExMember001 on August 18, 2006, 01:07:51 PM
its seems like the right margin doesnt work...
you can see the margin blank but the text doesnt get compacted.
Title: Re: bug with richedit setmargins()?
Post by: Ionic Wind Support Team on August 18, 2006, 01:13:25 PM
Works in every application I have used it in.  Perhaps you're expecting a different behaviour?   The method just sends the EM_SETMARGINS message to the control, no other processing is done.

Title: Re: bug with richedit setmargins()?
Post by: ExMember001 on August 18, 2006, 02:03:28 PM
does Ibasic pro was doing the samething? because if i look at my ibasic pro build, the right margin does compact the text.
the left margin work correctly, the text start at the distance specified, but for the right instead of changing line it continue on the same.

i dont have the pro code of this program anymore (lost it in my last hd crash) just got a compiled build, but i dont think i was doing anything else to wrap the words to the next line.
Title: Re: bug with richedit setmargins()?
Post by: Ionic Wind Support Team on August 18, 2006, 02:22:33 PM
Yes.  IBasic Pro just sends the EM_SETMARGINS message.  It's up to the control to process the message.  Perhaps your not using the same style on the control you were before?
Title: Re: bug with richedit setmargins()?
Post by: ExMember001 on August 18, 2006, 06:33:40 PM
humm maybe ..
ill check that out, this didnt came to my mind ;)
Title: Re: bug with richedit setmargins()?
Post by: ExMember001 on August 18, 2006, 07:04:24 PM
do you have any Richedit control styles list done?
because i saw none in the user guide.

For the moment i use the dialog editor to get the styles, ive set all scrolls and want return, but maybe i'm missing somes?
Title: Re: bug with richedit setmargins()?
Post by: ExMember001 on August 18, 2006, 07:49:14 PM
found it...
don't use  Auto Horizontal scroll for this task ;)
Title: Re: bug with richedit setmargins()?
Post by: Ionic Wind Support Team on August 18, 2006, 11:07:07 PM
;) Yep that would do it.  Auto H  assumes a single line control and won't wrap at the margins.