Formatting String in Text Gadget
-
- Enthusiast
- Posts: 168
- Joined: Wed Jun 04, 2003 8:44 am
- Location: Switzerland
Formatting String in Text Gadget
Hi
No sonner have i solved a problem, another pops up. This should be an easy one.
How can i format text like :
to handle blah|||request "Blah"|||end
to:
to handle blah
request "Blah"
end
I search the forum and heard about the RichEdit Gadget, is this the only way?
Also if i really use the richedit Gadget, when i distribute my programme, do i need to include any DLL or whatever? I really want to solve this in a native PB way.
Cecil
No sonner have i solved a problem, another pops up. This should be an easy one.
How can i format text like :
to handle blah|||request "Blah"|||end
to:
to handle blah
request "Blah"
end
I search the forum and heard about the RichEdit Gadget, is this the only way?
Also if i really use the richedit Gadget, when i distribute my programme, do i need to include any DLL or whatever? I really want to solve this in a native PB way.
Cecil
What about the new EditorGadget() ?
You can use AddGadgetItem() to add a new line, and SetGAdgetItemText()
to change existing lines. Sounds like an easy PB way to me.
This Gadget actually is a Richedit Control. but you don't need any dll, it is
included in windows.
Timo
You can use AddGadgetItem() to add a new line, and SetGAdgetItemText()
to change existing lines. Sounds like an easy PB way to me.
This Gadget actually is a Richedit Control. but you don't need any dll, it is
included in windows.
Timo
quidquid Latine dictum sit altum videtur
-
- Enthusiast
- Posts: 168
- Joined: Wed Jun 04, 2003 8:44 am
- Location: Switzerland
-
- Enthusiast
- Posts: 168
- Joined: Wed Jun 04, 2003 8:44 am
- Location: Switzerland
Ah, this version is the cheaper, not updateable version then.
The Version you can buy online is more expensive, but all later
updates are for free.
http://www.purebasic.com/german/ordering.php3
There you can get an "update" from your version to an "all-update-for-free" version for 39€.
Timo
The Version you can buy online is more expensive, but all later
updates are for free.
http://www.purebasic.com/german/ordering.php3
There you can get an "update" from your version to an "all-update-for-free" version for 39€.
Timo
quidquid Latine dictum sit altum videtur
Re: Formatting String in Text Gadget
> How can i format text like :
> to handle blah|||request "Blah"|||end
> to:
> to handle blah
> request "Blah"
Look at the link for How do I get a multi-line string gadget at this post:
viewtopic.php?t=4876
> to handle blah|||request "Blah"|||end
> to:
> to handle blah
> request "Blah"
Look at the link for How do I get a multi-line string gadget at this post:
viewtopic.php?t=4876
-
- Enthusiast
- Posts: 168
- Joined: Wed Jun 04, 2003 8:44 am
- Location: Switzerland
-
- Enthusiast
- Posts: 168
- Joined: Wed Jun 04, 2003 8:44 am
- Location: Switzerland
-
- Enthusiast
- Posts: 168
- Joined: Wed Jun 04, 2003 8:44 am
- Location: Switzerland