vb seltext settext

Users questions:I am learning vb's "copy, paste and cut" feature and found the following few questions 1: Seltext role of 2: Gettext role of 3: Settext role of 4: Settext and Seltext because, as the difference between the number of looks like to meOften confused, so please explain expert! Thank you
Experts answer:settext is a process, gettext, and seltext is a function here to illustrate a settext and getText are a function of the clipboard object clipboard, it is to useWhen clipboard.settext "solid" is to the string into the clipboard, a = clipboard.gettext is a simple one paste board to take a string assigned to a rather seltext is to control the selected text font assigned to other variablesa = text1.seltext directly as a parameter you can also look at the book certainly say so, copy the command: subcopy () clipboard.settexttext1.seltext 'access to select the text tipped clipboard endsubsubpaste () text1.seltext = clipboard.gettext 'paste the clipboard to the text1 text endsub, right text1.seltext directly refer to the cursor insertion point, if nothing selected whenIs a direct insertion
  • This information provided by the users.Thanks!