Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB modifier, add a button to a form

Status
Not open for further replies.

FaFa168

MIS
Apr 29, 2005
20
FR
I just add a button to the Invoice Entry Screen, and add some code behind it. everythings works great, except one thing, I don't know how to add text to this button. so currently, my button is a blank button, I need add some wording on it. like "view picking ticket".
Can someone let me know how to do that.

Thanks

 
Never mind, I figure it out.

In the before form load function, I add buttonName.caption = "xxx"



 
If you open the local field that you created for your button in Modifier, you can use the Static Values "..." button to option the Button Items window. Just add you text into the Up button Caption. You can use & to specify that the next character should be enabled as an ALT keyboard shortcut.

David Musgrave [MSFT]
Senior Development Consultant
Escalation Engineer
MBS Support - Asia Pacific

Microsoft Business Solutions

Any views contained within are my personal views and
not necessarily Microsoft Business Solutions policy.
This posting is provided "AS IS" with no warranties,
and confers no rights.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top