tuape Posted February 15, 2005 Share Posted February 15, 2005 Hi, Is there a style that defines that pressing TAB button when edit control has focus actually results a tab character being inputted? Currently it seems to select all text in edit control. Link to comment Share on other sites More sharing options...
zcoacoaz Posted February 15, 2005 Share Posted February 15, 2005 make a hotkey then have it send a tab to the edit, hmmm lets see if i can make one HotKeySet ( "{tab}", TabFunc() ) Func TabFunc() GUICtrlSetData ( $edit, GUICtrlRead ( $edit ) & @TAB ) EndFunc [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
tuape Posted February 15, 2005 Author Share Posted February 15, 2005 Thanks, that's a good workaround. But I was actually looking an answer for question 'is there a style or setting that makes edit control behave that way?' I'll use hotkey method in case there isn't any. Link to comment Share on other sites More sharing options...
tuape Posted February 15, 2005 Author Share Posted February 15, 2005 The cro-magnon to AutoIt3 GUI, Au3GUI had something in the messageloop that checked if it was an "edit" class control and passed a "TAB" message rather than the default dialog behaviour, which I believe is to ignore tab or something...It's pretty easy for the devs to add something to the message loop, I believe, that checks when a "tab" message comes in... and if it is an "edit" control... insert at the cursor position ... a "tab" ... I could post the AU3GUI code if needed... some day when my wife lets me...Lar.Lar.<{POST_SNAPBACK}>Thanks. I'll use method provided by Xenogis for now and hope that there will be an optional setting / style for this later.This was just one of those things that I thought might already be possible even if there are no references in help file / forum. Now I can stop looking for this hidden style Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now