Setting an EditField TextSize to 0 does not set it to the OS Platform default size
REALbasic 2007r2 Standard for Windows Windows XP SPII Pentium IV 2.8 GHZ / 512MB I am sorry to say that this is a bug and I see it. I started my <.../...> Pentium IV laptop machine and my text editor project (the one used to make some testings of the infamous RTFData) and I can confirm that I see that. The size Menu have these values "0,9,10,11,12,13,14,15,16,18,24,36,48,60,72,84,96" and all of them works fine excepted 0. I have added after the .SelTextSize = FontSize line: MsgBox "Selected size: " + Str(FontSize) and I get the value I choose (0, 24, whatever). And, when 0 is selected, the size of the selected text fall into very small, very very small, and by all means, not 11! Now, before firing me telling that it works for you and all of that: how many ways exists to set an EditField ".SetTextSize" ? EditField1.SetTextSize IS NOT THE ONLY WAY TO CHANGE THE EDITFIELD’s SELECTED TEXT SIZE. Think and come back with an answer that is either: "I do not know" or "Yes, you are right". Note: no pun intended, but I am a bit irritated to get definitive answers when another exists (and I can prove it on my machine). In the mean time, I will issue a bug report (if I can do that after sending this mail). BTW: I use that very same method to assign Bold, Italic, Underline, TitleCase, LowerCase, UpperCase, Color, and so on and all of these works fine (but not necessary do what I want to do: TitleCase on styled data for example works, but not as I want it to do!) HTH, Emile Nota: I double-cliqued on the project file and REALbasic 2007r2 (yes r2) was launched and opened my project file. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
