FormatTextAreaText flags

BlitzMax Forums/BlitzMax Programming/FormatTextAreaText flags

tonyg(Posted 2006) [#1]
Flags parameter is not explained in Documentation for FormatTextAreaText.

FormatTextAreaText takes flags...
1 = Bold
2 = Italic
I thought 4=Underline but it doesn't seem to work.


Grisu(Posted 2006) [#2]
THIS is NOT a BUG report. Topic can be locked or moved!


tonyg(Posted 2006) [#3]
Grisu, I disagree.
I consider incorrect or omitted documentation to be a defect (bug) in any product I buy.


Grisu(Posted 2006) [#4]
The whole documentation is missing many ("superstrict") examples and explanation. So I consider this a feature.

E.g.:
LoadIconStrip:TIconStrip(source:Object)
Source can be TImage, TPixmap and even more I guess.


skidracer(Posted 2006) [#5]
The docs are correct, underline is not currently supported.


tonyg(Posted 2006) [#6]
OK, this is very annoying...
@Skidracer, thanks for poiting out that 'Underline' is not supported *BUT* how would I know? My post was to point out that the FormatTextArea documentation states it takes 'flags' but does not list what the flags might be.
@Grisu, how can it be a feature when it doesn't tell me what the flags are that it takes?
Anyway, I have reposted in the Bug Forum.


skidracer(Posted 2006) [#7]
The MaxGui docs do include a flags description - module version 1.08?


Grisu(Posted 2006) [#8]
Nope, 1.08.



add description:
r,g,b:
color value for red, green and blue (each 0..255)

flags:
1 = format text bold
2 = format text italic
1+2 = format text bold and italic

pos:
first letter to be changed


tonyg(Posted 2006) [#9]

The MaxGui docs do include a flags description - module version 1.08?


Skid, can you post the documentation you are referring to?


tonyg(Posted 2006) [#10]
Hi Skid, I looked everywhere and still can't see the documentation you are referring to. I am using module version 1.08.
Can you please post a reference to the documentation which explains FormatTextAreaText flags?
Thanks


tonyg(Posted 2006) [#11]

The MaxGui docs do include a flags description - module version 1.08?


Hi Skid, sorry to bump this again but if you can point me to that documentation for the FormatTextAreaText flags
I can put this to bed.


skidracer(Posted 2006) [#12]
Ok it looks like I might have forgotten to run docmods before uploading 1.08, will double check docs before next maxgui.mod update which will be ready in next few days.


tonyg(Posted 2006) [#13]
Thanks Skid.
It's good to see that the latest syncmods with win32MaxGUI 1.13 has added underline and strikethrough flags which work well.


tonyg(Posted 2006) [#14]
... Guess what? Still nothing in the doc.
<edit> 1st Aug... is now!