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

The Modifed event only fires after I tab off the edit mask control? 1

Status
Not open for further replies.

Tentacle

Programmer
Nov 10, 2000
34
ZA
I have a numeric edit mask on my window with a spin control. However I can’t seem to find the correct event that executes every time a user clicks on one of the spin control up or down arrows. I want a text field to update with a value every time the spin control is clicked and the value is changed. The Modifed event only fires after I tab off the edit mask control or it looses focus. Does anyone know of a user defined event for getting the modified event to fire every time the spin control is clicked? I’m using PB 6.5 by the way. Thanx for any help =)
 
Tentacle,

Take a look at PBM_EnChange and PBM_EnUpdate events for edit-controls. Try creating a user-event (ue_Changed) mapping to one of these events and move your Modified! script into this event. If this does not work for the spin-control, the Other! event always works!!

---
PowerObject!
-----------------------------------------
PowerBuilder / PFC Developers' Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top