Once again about multiline StringGadget...

Just starting out? Need help? Post your questions and find answers here.
User avatar
Melissa
User
User
Posts: 71
Joined: Tue Sep 22, 2009 3:13 pm

Once again about multiline StringGadget...

Post by Melissa »

...Yes, even at those day and age people still needs simple solutions for text I/O. Well, referenced gadget completely fulfilling my current needs, yet there are some little problems: right I'm just unable to locate any way of making scrolling bars (mostly vertical one) to appear only when they actually needed. It’s first time when MSDN completely fails for me. May be you, people, have any ideas here ?
UserOfPure
Enthusiast
Enthusiast
Posts: 469
Joined: Sun Mar 16, 2008 9:18 am

Re: Once again about multiline StringGadget...

Post by UserOfPure »

A search for "multiline stringgadget" has several relevant matches for you. It's not hard.
User avatar
Melissa
User
User
Posts: 71
Joined: Tue Sep 22, 2009 3:13 pm

Re: Once again about multiline StringGadget...

Post by Melissa »

A search for "multiline stringgadget" has several relevant matches for you. It's not hard.
http://www.google.ru/search?hl=en&sourc ... Scrollbars
Fail ?
UserOfPure
Enthusiast
Enthusiast
Posts: 469
Joined: Sun Mar 16, 2008 9:18 am

Re: Once again about multiline StringGadget...

Post by UserOfPure »

No, not fail. You searched via Google, not the forums. Before I posted my reply I did a search, and it had several relevant matches. You try again and you'll find them.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Once again about multiline StringGadget...

Post by c4s »

Melissa wrote:
A search for "multiline stringgadget" has several relevant matches for you. It's not hard.
http://www.google.ru/search?hl=en&sourc ... Scrollbars
Fail ?
Try this: "StringGadget* multiline" and/or with "scroll".
I'm sure you'll find something.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
Melissa
User
User
Posts: 71
Joined: Tue Sep 22, 2009 3:13 pm

Re: Once again about multiline StringGadget...

Post by Melissa »

UserOfPure wrote:No, not fail. You searched via Google, not the forums. Before I posted my reply I did a search, and it had several relevant matches. You try again and you'll find them.
http://www.purebasic.fr/english/search. ... &terms=all
That one ?
Try this: "StringGadget* multiline" and/or with "scroll".
I'm trying, yet things aren't going too well.
PyroStrex
User
User
Posts: 61
Joined: Mon Mar 22, 2010 3:08 pm

Re: Once again about multiline StringGadget...

Post by PyroStrex »

Hi, I believe you can use this:

Code: Select all

StringGadget(#String, 10, 30, 250, 180, "", #ES_MULTILINE | #ES_AUTOVSCROLL | #WS_VSCROLL | #ESB_DISABLE_LEFT | #ESB_DISABLE_RIGHT)
User avatar
Melissa
User
User
Posts: 71
Joined: Tue Sep 22, 2009 3:13 pm

Re: Once again about multiline StringGadget...

Post by Melissa »

Hi, I believe you can use this:
Fail - scrollbar is still visible even if it aren't enabled.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Once again about multiline StringGadget...

Post by c4s »

Melissa wrote:
Hi, I believe you can use this:
Fail - scrollbar is still visible even if it aren't enabled.
Seriously, is everything ok with you?
All the last posts I read from you were something like "you fail, this fails"... Every member of this forum asks questions and also trys to help others ones so please be more friendly - thanks.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: Once again about multiline StringGadget...

Post by Foz »

c4s wrote:
Melissa wrote:
Hi, I believe you can use this:
Fail - scrollbar is still visible even if it aren't enabled.
Seriously, is everything ok with you?
All the last posts I read from you were something like "you fail, this fails"... Every member of this forum asks questions and also trys to help others ones so please be more friendly - thanks.
Fail. You used the word "fail" to look down on someone. :lol:
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Re: Once again about multiline StringGadget...

Post by Fluid Byte »

Smells like brain fail ... :|

Listen Melissa, this is no service hotline nor a programming competition so I suggest you take your elementary-school-fail-bulls*** and keep it to yourself in case you ever want to get help again. Deal? (It's a rhetorical question, don't get tempted)
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
UserOfPure
Enthusiast
Enthusiast
Posts: 469
Joined: Sun Mar 16, 2008 9:18 am

Re: Once again about multiline StringGadget...

Post by UserOfPure »

Fluid Byte wrote:take your elementary-school-fail-bulls*** and keep it to yourself in case you ever want to get help again
Right on! I was about to post her some working code but after her second "fail" post I decided against it, and won't be helping her in future anymore either. Rude people aren't worth my time.
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Re: Once again about multiline StringGadget...

Post by Fluid Byte »

You believe it's really a "her"? Hmmm, call me crazy but I doubt it :P
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
UserOfPure
Enthusiast
Enthusiast
Posts: 469
Joined: Sun Mar 16, 2008 9:18 am

Re: Once again about multiline StringGadget...

Post by UserOfPure »

I don't really, no. But I didn't want to risk offending by typing "her" in quotes, just in case.
User avatar
Melissa
User
User
Posts: 71
Joined: Tue Sep 22, 2009 3:13 pm

Re: Once again about multiline StringGadget...

Post by Melissa »

Well, let's see...
1) It's third day and I still unable to get answer, yet there are plenty of posts here.
2) Looks like that most of posters didn't actually even bothered to read my request.
3) I'm using word 'fail' when it is one. Since it is.
I was about to post her some working code but after her second "fail" post I decided against it, and won't be helping her in future anymore either.
Was it ever different from PyroStrex’s one) ? Btw, why just post link to topic with ? Wasn't it you, who stated that answer could be found that forum ? Why now, not when I just asked ? Questions, questions...
----------------------------------------
OK, what I got myself so far:
1) There are flag #SIF_DISABLENOSCROLL in SCROLLINFO structure, which should be what I'm searching for, yet it seems to be always off.
2) It's possible to test if scrollbar is enabled or not, yet it should be visible while doing that. Flickering is not too irritating, but still noticeable.
3) Some textarea’s size calculation would work as well, yet I'm still hesitating to use it until there are some hope that more civil methods would be found.
...If only netmaestro was there -_-...
Last edited by Melissa on Mon Apr 05, 2010 8:06 am, edited 2 times in total.
Post Reply