Sign in to follow this  
Followers 0
Reinhardt1julian

Add text to editbox

12 posts in this topic

Is it possible to add text to an editbox without removing the text that is already in it? In the Helpfile theres nothing like that.

Share this post


Link to post
Share on other sites



Yes, and I've already told you how to do that in your other thread, why the hell don't you go read the damned thing and stop being an a--hole here?


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Wow, please no raging! I just want to get some help here! Isn't that what a Help Forum is all about?

Share this post


Link to post
Share on other sites

Reinhardt1julian,

You are now beginning to annoy other forum members. Part of my job here is to maintain the smooth running of the forum and you are the main perturbation at the moment. :mad:

We all understand that the learning curve when you start coding is very steep - and we are very happy to help you climb it. But we need to see a bit more effort from you - at the moment you are just posting every question that pops into your head. How many times today have you posted "NVM found it" just a few minutes later? Too many to my mind. :(

So here is my proposal:

- If you keep spraying questions around like confetti at a wedding without making any serious attempt to find the answer for yourself in the Help file or on the forum, I will prevent you from posting anything at all.

- If you start by doing some research first and posting code which shows that you have at least looked at the Help file we will all be delighted to point you to a solution.

Are you prepared to accept that offer? Please choose wisely. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I look in the help file before asking. But Either there's nothing matching in the indes on it does't say what i need (or i don't understand that that's what i need). A few of my Nvm are, because i asked in another forum, and they told me what the solution is. Or because of one of your hints. I just want to learn it :) But i can ann some of my code next time.

Share this post


Link to post
Share on other sites

Wow, please no raging! I just want to get some help here! Isn't that what a Help Forum is all about?

You got help for this exact same question a couple of days ago, and you're still not reading your help file. You're on your own from now on, you have demonstrated zero ability to work with the people helping you, and you keep asking the same stupid questions over and over again, I'm done.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

helpfile:

GuiCtrlRead

use the above function, return the current value to a variable

then use GuiCtrlSetData, and set the value to be the variable above & 'your new text'


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Reinhardt1julian,

So do I take that as you accepting my offer and that you will now read the Help file thoroughly and post some code that you have actually tried to run when asking questions in future? :huh:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

@BrewManNH I'm sorry, ok? Nobody is perfect. I just forgot about the other Thread. If you just woud'f said "In The other Thread you asked the same question" I would'f looked in my Content, and used the other Thread and asked this thread to get closed.

@Uniersalist That would be a idea, too.

@Melba23 Yes.

Edited by Reinhardt1julian

Share this post


Link to post
Share on other sites

Reinhardt1julian,

Excellent - now take a break and come back tomorrow when we are all fresh and ready to go. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I just want to know this one last thing for today - Does it matter what the third parameter of GUICtrlSetData is? It's not that clear neither in the helpfile nor in BrewMans post.

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

the helpfile answered your question:

GUICtrlSetData ( controlID, data [, default] )

GUICtrlSetData ( controlID, data [, default] )

default [optional] Combo, List: The default value.

Edit, Input: If non-empty (""), the string is inserted at the current insertion point (caret).

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0