![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Can anyone see what is wrong.
I have done a short program that should paste texbox1.text into textbox2.text (if i am understanding things right). When button1 is clicked textbox2 goes blank (no text). The text in textbox1 is "textbox1", shouldn't that be copied? Sub Globals 'Declare the global variables here. End Sub Sub App_Start Form1.Show hw.new1 'hw is a Hardware object. End Sub Sub Button1_Click hw.SetClipboardData(textbox1.Text) textbox2.Text=hw.GetClipboardData End Sub |
|
|||
|
Hi,
I've tried using hardware.SetClipBoardData, hardware.GetClipBoardData and formlib context menu for "cut/copy/paste/Select All" function on a textbox1. but SetClipBoardData and GetClipBoardData return the whole text of textbox1 to textbox2 while I've only selected portion of text. I've followed the help samples. Can you help me on this? ![]() PHP Code:
__________________
Rioven Sony Ericsson XPERIA X1i WM6.1 480x800 Display Resolution with QWERTY keyboard |
|
||||
|
See this post: Text Editor example
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Access to Clipboard data with HardwareDesktop.dll | Woinowski | Basic4ppc Wishlist | 1 | 05-06-2008 03:50 PM |
| search-funktion and clipboard-funktion | Filippo | Basic4ppc Wishlist | 1 | 05-16-2007 08:57 PM |