Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Return default value of a UserControl for ex. Text1.Text = Text1

Posted on 2003-02-21
6
Medium Priority
?
310 Views
Last Modified: 2013-12-25
Hello,

How to return the default value of a UserControl for example like in TextBox Text1 value is equal to Text1.Text

I have my own TextBox UserControl and wanted it to get me its Text value whenever I Call it without .Text

Regards,
Hesham
0
Comment
Question by:tocos
  • 3
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
JMoon5FTM earned 200 total points
ID: 7995787
You have to open the dreadful "Procedure Attributes" dialog, select the Text property, open the advanced controls, and set the procedure ID to "(Default)".
0
 

Expert Comment

by:COMPILER
ID: 7998500
Hesham,

what advantage does you own textbox usercontrol have over the one in visual basic.

COMPILER.
0
 

Author Comment

by:tocos
ID: 8000382
JMoon5FTM: Thank you .. It worked just fine for me.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:tocos
ID: 8000403
Hi COMPILER,

my Textbox accept skining with options like filtering to accept only numeric entries ..
and lots more.

Hesham
0
 

Expert Comment

by:COMPILER
ID: 8000605
hesham,

could i get to know you better? i agree with your textbox and would like to know more about it.

how do you mean skinning?

COMPILER.
0
 

Author Comment

by:tocos
ID: 8000656
I have build a huge project .. consisting of graphical Form skin (Like winamp), TextBox, CheckBox, DatePicker, and a TabControl .. all of those control .. have the same feels and colors and tons of advanced features over the standard controls.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question