Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Q: Forms 50 - Format Mask

0 views
Skip to first unread message

Ole Bredesen-Vestby

unread,
Apr 28, 1999, 3:00:00 AM4/28/99
to
Is there a way to copy just the value of a field that has an format
mask, and not with the format mask.

I have a varchar2-column that is displayed as a text-item, with a
format mask 999" "999" "999

When the user uses ctrl-c (copy) I want the format of the value in the
clipborad to be 999999999

Is this possible ?


Thanks,
Ole Bredesen-Vestby
Statistics Norway (www.ssb.no)
ole.brede...@ssb.no

Steve Cosner

unread,
Apr 29, 1999, 3:00:00 AM4/29/99
to
I don't know if this would work, but you can try it: First, create a
button for the user to use to copy the value. Or else modify the
Ctrl-C copy key sequence in the resource file to execute a different
trigger (That is not a good idea, since it would affect all your
users' forms.)

Back to the button: in the when-button-pressed trigger, make sure the
cursor is in the specified field, do a select_all, then copy_region,
then go_item to a hidden navigable item and Paste_Region. Edit the
contents of the hidden item into whatever form you need, and do a
select_all, then cut_region. Finally, go_item back to the visible
field on the form. Your user's clipboard should have the contents as
you edited them.

Like I said above, you can try this, but I have no idea whether or not
it would work.

Steve Cosner


In article <3726a1e8...@news.eunet.no>,

0 new messages