Home » Developer & Programmer » Forms » Need to insert text value into a text field on current cursor position (Forms, 6i, Windows 7)
Need to insert text value into a text field on current cursor position [message #597017] Mon, 30 September 2013 02:20 Go to next message
azamkhan
Messages: 484
Registered: August 2005
Senior Member
Hi,

I need to copy some text value in to a multi-line text item on the current cursor position. Is there a way to do this?
Re: Need to insert text value into a text field on current cursor position [message #597018 is a reply to message #597017] Mon, 30 September 2013 02:36 Go to previous messageGo to next message
Littlefoot
Messages: 19326
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I usually do that using <Ctrl+C> & <Ctrl+V>.
Re: Need to insert text value into a text field on current cursor position [message #597036 is a reply to message #597018] Mon, 30 September 2013 06:30 Go to previous messageGo to next message
azamkhan
Messages: 484
Registered: August 2005
Senior Member
Dear Friend,

I have a button and a multi line text item. What I want to do is, when I click the button it copy same text in the multi line text item on the position where the cursor it currently blinking.

I hope you got the scenario.
Re: Need to insert text value into a text field on current cursor position [message #597038 is a reply to message #597036] Mon, 30 September 2013 06:38 Go to previous messageGo to next message
Littlefoot
Messages: 19326
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As far as I can tell, Forms can't do that. *Maybe* you could try with some Java code (which I don't know and can't assist at all).
Re: Need to insert text value into a text field on current cursor position [message #597039 is a reply to message #597038] Mon, 30 September 2013 06:51 Go to previous messageGo to next message
azamkhan
Messages: 484
Registered: August 2005
Senior Member
Dear Friend LittleFoot,

Thank you for your quick reply.

LittleFoot please don't say that it cann't be done. Once a genius said to me, "A GOOD programer doesn't has the word IMPOSSIBLE in his/her dictionary".

So dear friend please don't say that it cannot be done.

I mean that there is D2k Utility that can do many wonderful staff that cann't be don't by forms, but yet with the help of this utility we can do thinks.

I hope ... I believe that there must be some logic that can help doing this task.
Re: Need to insert text value into a text field on current cursor position [message #597040 is a reply to message #597039] Mon, 30 September 2013 06:56 Go to previous messageGo to next message
Littlefoot
Messages: 19326
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As I said, Forms (its original installation files) can't do that.

Furthermore, I said that *maybe* Java offers that flexibility. By "Java" in Forms context, I meant "Java beans". I don't know Java and I can't even test it, but you might search (Google) whether someone did what you asked. Hopefully, you'll find some code that might help you.

As you said, some "D2K utility" (which one? Webutil?) can do something that Forms itself can not. That's perfectly fine, use it if you know how.

Whatever you do, I still believe that Forms 6i (without any add-ons) can't do what you want.
Re: Need to insert text value into a text field on current cursor position [message #597041 is a reply to message #597040] Mon, 30 September 2013 07:00 Go to previous messageGo to next message
azamkhan
Messages: 484
Registered: August 2005
Senior Member
I got your point. But like you I am also a pure ORACLE developer and I don't know about Java. I love to work in pure Oracle coding.

Any ways I will try and try... until I succeeded. May be I am wrong that this task can be in Oracle forms. But I will try.

Thanks alot for your help friend.
Re: Need to insert text value into a text field on current cursor position [message #597042 is a reply to message #597041] Mon, 30 September 2013 07:02 Go to previous messageGo to next message
Littlefoot
Messages: 19326
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Good luck! I hope you'll succeed and - if you do - don't forget to post what you learnt here so that someone else might benefit from it.
Re: Need to insert text value into a text field on current cursor position [message #597043 is a reply to message #597042] Mon, 30 September 2013 07:19 Go to previous message
azamkhan
Messages: 484
Registered: August 2005
Senior Member
thank you and sure I will do so. Because I like this forum. It helped me out in problems.
Previous Topic: How to Run Oracle Form Server 10g From IPhone
Next Topic: show increasing digit 1 to 100 in a text field after pressing one by one
Goto Forum:
  


Current Time: Tue Jul 29 13:20:43 CDT 2014

Total time taken to generate the page: 0.10284 seconds