Igor, How about using an actual list field, and only allow changing when the user double-clicks on a line? You could bring up an "ask" dialog allowing them to change the value of the line. This would prevent all the clipboard/keydown issues completely.
Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > From: Igor Couto <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Sat, 28 Jun 2003 15:38:51 +1000 > To: [EMAIL PROTECTED] > Subject: Stopping the User from Adding/Removing Lines to a field > > Hi all! > > Would anyone know of an easy way to stop a user from removing or adding > lines to a list field? > > PROBLEM: > I have a list field with entries that the user should be able to > CHANGE. The user MUST NOT be able to, however, delete or add lines to > the field. I thought of using a TABLE field, however my users will > enter international characters (Esperanto, Icelandic, etc.) that > Revolution currently does not seem to support in the tables... > > It is easy enough to trap 'enters', 'returns', 'deletes' (forward and > back). However, there are some functions that the user should be able > to use that can still wreak havoc with the lines - namely, CUT and > PASTE... This is all getting SOOOOOO complicated, for such a small > limitation I want to implement, that I feel I must have missed a > checkbox somewhere that will simply allow me to do it all! > > Can anyone help? > > -- > Igor de Oliveira Couto > ---------------------------------- > [EMAIL PROTECTED] > ---------------------------------- > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
