--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote: > > It will break your CA 3.1, as "escapable" _and_ "cancel" no longer > allowed.
Using with escapable; removed id "cancel" from the other button. Unpredictably dialog sometimes dies, like it did before with "cancel" id button when the the callback didn't include destroying the dialog (color, images and responses vanish; edit, control boxes, and borders remain.) Possibly if a tooltip is hovered too long. I currently have manifest active. Tooltips do not redisplay after their controls are clicked. Don't know if you expected that was fixed. Also, when hovered before button is clicked, the tooltip doesn't display long enough to read it (and doesn't want to redisplay immediately). Don't understand the tooltip / to \n requirement. Think you intended / to work in .set_tooltip, but it doesn't work (any more) if the /'s are in a string variable in set_tooltip. Using replacechar on the string to change all "/" to "\\n" also doesn't work. Replacechar from "/" to "\n" works. > Function DEditChange() > ;bizarre errors if no event and callback on the edit control > > What errors? I've CAtest.powerpro includes an eidt box without > any event or callback, seems okay. Maybe it was before I had OK id button. I've removed the callback and the event specifier and will see I get any errors. I remember the error messages specifically mentioned Edit control event being missing. > You said Function DSearch(sUserArg, dlgHan, iCtrlNo, wMsg, > lParam) ;this is triggered as default "OK" action (pressing > enter) ;if in the main combo box, want to paste instead of search > ;iCtrlNo was always passing the same number regardless where > enter was pressed. not so in CAtest.powerpro, get 1 for left > click on S button ( 1 == IDOK), 114 or such for right click on > lower "..." button. You're not suggesting there is a better way to determine where the Enter key got pressed than what I'm doing are you? Pressing the Enter key triggers the OK id "button" to fire which makes iCtrlNo "1", which doesn't tell you where the Enter came from. Was only interested in whether it came from the main combo box.
