In my ProductView ResDialog (attached), the following statement is issued in
the UpdateProduct method:
 
prodControls[pbSaveChanges]~state = "FOCUS"
 
This is intended to make the "Save Changes" pushbutton the default when the
user presses enter. But this doesn't happen.
I use the same approach for CustomerView (an RcDialog), and it works fine. 
 
ProductView code, .rc and .h attached. Will send the dll (too big for this
list) if required.
 
Many thanks,
Oliver

Attachment: ProductView.h
Description: Binary data


Attachment: ProductView.rc
Description: Binary data

Attachment: ProductView.rex
Description: Binary data

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to