Re: [BLACKBOX] SelectionGuard?
----boundary-LibPST-iamunique-2040848174_-_-
Content-type: text/plain
PROCEDURE SelectionGuard (VAR par: Dialog.Par)
This guard disables the current menu item if the current focus is not a text view or doesn't contain a selection
Example:
PROCEDURE FindGuard (VAR par: Dialog.Par)
This guard disables the current menu item if the current focus is not a text view or if the find.find interactor holds an empty string, i.e., no search target is set.
Is your AbleCsv.Convert procedure exported and has the signature of a SelectionGuard?
-Doug Danforth
On 4/13/2011 2:34 PM, john McGiveran wrote:
I am attempting to use TextCmds.SelectionGuard for the first time and having no success. This is the first time I have put anything into the guard section of the menu listing. The log shows the following:
TextCmds.SelectionGuard for AbleCsv.Convert not found.
Something should be added and I don't know what it is, or where it should be put. I have been unable to find anything on this in the tutorials, although they do cover control Guards.
I would appreciate any advice on how to get on with this, or where to find such information. If I missed this in the tutorials just let me know. I am more than a little frustrated.
Thanks,
Terry McGiveran
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
----boundary-LibPST-iamunique-2040848174_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm
c3dpc3MgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJcZm5pbFxmY2hh
cnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBOZXc7fX0NCntc
Y29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7fQ0KXHVjMVxw
YXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyNCANCntcKlxodG1sdGFnMjQzIDwhRE9DVFlQRSBI
VE1MIFBVQk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YWc5MiA8L2E+fVxsaW5lDQpcbGluZQ0KXHBhclxodG1scnRmfVxodG1scnRm
MA0KDQp7XCpcaHRtbHRhZzEzNiA8L3ByZT59XGh0bWxydGYgfVxodG1scnRmMCANCntcKlxodG1s
dGFnMCBccGFyIH0NCntcKlxodG1sdGFnMjQwICAgICB9DQp7XCpcaHRtbHRhZzEwNCA8L2Jsb2Nr
cXVvdGU+fVxodG1scnRmIH1ccGFyDQpcaHRtbHJ0ZjAgDQp7XCpcaHRtbHRhZzAgXHBhciB9DQp7
XCpcaHRtbHRhZzI0MCAgIH0NCntcKlxodG1sdGFnNTggPC9ib2R5Pn0NCntcKlxodG1sdGFnMiBc
cGFyIH0NCntcKlxodG1sdGFnMjcgPC9odG1sPn0NCntcKlxodG1sdGFnMyBccGFyIH0NCntcKlxo
dG1sdGFnNjQgPHA+fVxodG1scnRmIHtcaHRtbHJ0ZjAgDQp7XCpcaHRtbHRhZzQgXHBhciB9LS0t
LQ0Ke1wqXGh0bWx0YWc0IFxwYXIgfVxodG1scnRmICBcaHRtbHJ0ZjAgVG8gdW5zdWJzY3JpYmUs
IHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZA
TElTVFMuT0JFUk9OLkNIDQp7XCpcaHRtbHRhZzQgXHBhciB9XGh0bWxydGYgIFxodG1scnRmMCBc
aHRtbHJ0Zn19AAAABTTIEzb6ywEAAAAA
----boundary-LibPST-iamunique-2040848174_-_---
Received on Thu Apr 14 2011 - 00:06:43 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:30:15 UTC