January 18th, 2000, 05:57 PM
how do I align text within a textbox during run time? To the left, center, and right....with only selected text (.seltext)?
Also, how can I change the font to bold, italic, strikethru, and underline, by toggling? I tried this:
text1.fontbold = not fontbold
but it turns the font to bold, but doesn't make it not bold... How can I make it so that selected text will become bold, underline, strikethru, italic, and if there is no selected text, any text typed after that is that kind?
Also, how can I change the font to bold, italic, strikethru, and underline, by toggling? I tried this:
text1.fontbold = not fontbold
but it turns the font to bold, but doesn't make it not bold... How can I make it so that selected text will become bold, underline, strikethru, italic, and if there is no selected text, any text typed after that is that kind?