----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: LovedJohnySmith Message 3 in Discussion Ravi, There are a couple of ways for you to acheive this. 1) You write your own custom control (probably derived from text box control) and set the background color property to transparent. 2) You can set a lable and set it's background color to transparent. But the, you would need to handle the keypress events to change the text of the lable yourself. The problem essentially is that neither the textbox nor the rich textbox control support the background set to transparent. You can simulate the feature using regular text boxes like this: - create regular TextBox control as child of InkPicture - set Visible=false for the TextBox - in InkPicture's Painting event draw the TextBox's content onto InkPictures Graphics object using DrawString - when the user taps on the (invisible) TextBox, set Visible=true, so the user can start editing the text - when the TextBox loses focus, set Visible=false again Please have a look at the following URL..... http://www.codeproject.com/cs/miscctrl/alphablendtextbox.asp Thanks, Smith http://spaces.msn.com/members/johnysmith ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
