--- In [email protected], "dleidinger" <[EMAIL PROTECTED]> wrote:
>
> Hi Alan,
>
> > New parameter has to go before "number of controls"
> > because latter is probably quite infrequently used, therefore
> > perhaps most likely to be omitted.
> I can understand that, but it's not downward-compatible. So everbody
> using the dialog-plugin with more than the default number of
> controls will have problems.
> I can understand that, but it's not downward-compatible. So everbody
> using the dialog-plugin with more than the default number of
> controls will have problems.
Yeah, sorry. But it's been done; I don't really think there are that
many large complex dialogs out there (it's impossible to tell, but my
guess is there's yours, my samples, and Sheri's regex. And that's it.
) If anyone else was doing anything complex I'd probably hear about bugs?.
If you feel strongly enough, I can revert to previous param list for
dialog.define, and users can call dialog.set_response(with new param
list). But I can't do that for a week or so minimum, by which time
everyone who needs to will have discovered problem and fixed?
; alt doesn't work, shift does
;this allpies to anywhere on dialog where no control lives
hDlg.response(0, cb("@rClickButt"), "arg", "right ctrl")
;applies to btQuit button
hDlg.response("btQuit", cb("@rClickButt"), "argument", "right shift")
;changes R-shift action for btQuit button
hDlg.response("btQuit", cb("@rClickButt2"), "argument", "right shift")
;kills any R-shift action for btQuit button
hDlg.response("btQuit", "", "", "right shift")
> ----------------------------------------------------------------
> dialog control control
> handle name types
> ----------------------------------------------------------------
> l_cgroup_01 = dlghan.get_controls("*inp*" , "button")
> l_cgroup_all = dlghan.get_controls("" , "")
> l_cgroup_02 = dlghan.get_controls("" , "static")
> l_cgroup_03 = dlghan.get_controls("Test*" , "checkbox listbox")
I'm not gonna do wild cards for now; I'd need to gain access to
pcre.dll, which is possible but will take a bit of work.