Jump to content
Sign in to follow this  
Kreatorul

Multiline Label

Recommended Posts

Kreatorul

Sorry for the stupid question but i have a pretty big project going on and I really need multiline labels in koda. Is there anyway to do that in koda or I have to make a separate label for each line :">

Share this post


Link to post
Share on other sites
Kreatorul

no :P A need a label....like when I create a simple label with Koda and have the ability to "press enter" and make another line.Like multiline for msgbox but u use @crlf is something like that to do automatically with koda? :D

Share this post


Link to post
Share on other sites
Zedna

no :P A need a label....like when I create a simple label with Koda and have the ability to "press enter" and make another line.Like multiline for msgbox but u use @crlf is something like that to do automatically with koda? :D

Sorry

- in Koda label must have set style $BS_MULTILINE

- text for label in Koda may contain spaces to wrap it to another line

- after generating code to AU3 must be done correction by hnand to something like that:

GUICtrlCreateButton("Text 1" & @CR & "Text 2", ...)

Koda don't support macro @CR, only varible names %var% --> $var

Share this post


Link to post
Share on other sites
eynstyne

Off topic...but can Koda read your script and create a GUI?


F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]

Share this post


Link to post
Share on other sites
Lazycat

Yes, currently Koda don't support multiline labels. It's possible to change current editor to multiline, but this mean you need every time open editor when change label, what is not too convenient imo. Also probably this will requre form structure change.

But I see nothing opposite to make support for special symbols in the single-line properties (for example, tips can be multiline too). I think \n \r \t \\ will be familiar for anyone who use StringFormat function.

Share this post


Link to post
Share on other sites
Zedna

But I see nothing opposite to make support for special symbols in the single-line properties (for example, tips can be multiline too). I think \n \r \t \\ will be familiar for anyone who use StringFormat function.

Simple & clever idea Lazycat.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.