rabbithole
Programmer
I am trying to format text via a menu or toolbar attached to<br>an mdi. The formatting functions I am seeking to perform are<br>BOLD,ITALIC and UNDERLINE.<br><br>I know that in such a case the activeform, activecontrol and selected text has to be identified and the formatting code applies to the control with focus.<br><br>been trying crazy things like<br><br>mdi.activeform.activecontrol.seltext.fontbold = true<br><br>have a hunch about what is involved in this task - the kind of commands ect - not sure of the syntax.<br><br>haven't been able to find any examples after researching this - all samples refer to a particular control (eg:text1.text) - rather than identify ANY control with focus in a particular application. <br><br>to anyone who can help me solve this problem your help would be greatly appreciated.<br><br><br>adam<br><br>