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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Exp. Ship Date field in OE Order Entry OCX in VB6.0 1

Status
Not open for further replies.

vbdbcoder

Programmer
Nov 23, 2006
246
US
Have you tried to capture the button click event of the Exp. Ship Date on OE Order Entry OCX in VB 6.0 ?

Background is I have a VB 6.0 app with OE OCX that has additional functions. Now the client wants to set the Exp. Ship Date to a certain date when simply clicking the date control on OCX. I don't seem to recall that accessing a component in the OCX is feasible.

Thanks in advance.
 
Use GetControl(). Snippet from some production code:

Public WithEvents fldCust As VBControlExtender
....
Set fldCust = AccpacOE1100UICtrl1.UIAppControls("afeOEORDHcustomer").GetControl()

Now you can program events.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top