Textbox with button in it.....?!

How can i make Textbox with button in it.....??!!

Page 1 of 1

2 Replies - 21746 Views - Last Post: 25 March 2009 - 12:59 PM Rate Topic: -----

#1 ganni  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 8
  • Joined: 21-April 07

Textbox with button in it.....?!

Posted 12 March 2009 - 01:19 AM

I want to make button in textbox.

How can i make Textbox with button in it.....??!!

is it possible?

Here's the picture, i meant
Posted Image
http://i42.tinypic.com/v2zhbp.jpg

i have no idea how to make this kind of thing.

Help me please guys! :wub: :wub: :wub:

This post has been edited by ganni: 12 March 2009 - 01:34 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Textbox with button in it.....?!

#2 Chepoll  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 73
  • Joined: 27-February 09

Re: Textbox with button in it.....?!

Posted 12 March 2009 - 02:28 AM

now, if you made such a control, first problem you'll encounter is, when you typed enough, some text will be hidden behind the button.

Proper solution is , a textBox and a Button side by side.
Create a user control, and set the textBox.Dock to Left, and Button to Fill.
Set minimumSize and MaximumSize properties of the userControl to desired size properties of the textBox.

Set the modifier properties of textBox and button to Public, and there you go. Once you compile, you can add this userControl to any other userControl or Form.

Okay ?
Was This Post Helpful? 1
  • +
  • -

#3 jjbier  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 25-March 09

Re: Textbox with button in it.....?!

Posted 25 March 2009 - 12:59 PM

View Postganni, on 12 Mar, 2009 - 12:19 AM, said:

I want to make button in textbox.

How can i make Textbox with button in it.....??!!

is it possible?

Here's the picture, i meant
Posted Image
http://i42.tinypic.com/v2zhbp.jpg

i have no idea how to make this kind of thing.

Help me please guys! :wub: :wub: :wub:


I do not speak English but give you an example

Attached File(s)


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1