redndahead Posted February 21, 2004 Posted February 21, 2004 1) how do you seperate values you want to load into a combobox. 2) Any chance of being able to add text to an edit box from a text file? red
redndahead Posted February 21, 2004 Author Posted February 21, 2004 I think I got the combo data. Just to make sure it is EnvSet("OBJ1.data1","First Item") EnvSet("OBJ1.data2","Second Item") red
redndahead Posted February 21, 2004 Author Posted February 21, 2004 Larry do you have any idea on the best way to load an edit box with data? And how do you make it read only now? red
redndahead Posted February 21, 2004 Author Posted February 21, 2004 I figured out how to load the data using part of jon's FileReadToArray Function. Here is what I am missing. 1) Need the window to only have a minimize and close button. So the maximize in the top right corner would be greyed out. 2)I have figured out how to make the edit box read only but when I do that I lose the scroll bars on the edit box. I need it to be read only and have vertical and horizontal scroll bars. I think that's it and then I'm done. I hope Thanks Lar red
CyberSlug Posted February 22, 2004 Posted February 22, 2004 Is it possible to make a listbox always show a vertical scrollbar? I already tried the $WS_VSCROLL property without success. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Valik Posted February 22, 2004 Posted February 22, 2004 Is it possible to make a listbox always show a vertical scrollbar?I already tried the $WS_VSCROLL property without success.Try adding this style:$LBS_DISABLENOSCROLL = 0x1000Taken from MSDN:LBS_DISABLENOSCROLL Shows a disabled vertical scroll bar for the list box when the box does not contain enough items to scroll. If you do not specify this style, the scroll bar is hidden when the list box does not contain enough items.
CyberSlug Posted February 22, 2004 Posted February 22, 2004 (edited) Try adding this style:$LBS_DISABLENOSCROLL = 0x1000Hmm... Didn't work either. This is for AutoSense/Complete, by the way.I could use WS_VSCROLL for the GUI.style in my 0.2.0 code which reloads the GUI every invocation.However, if I use WS_VSCROLL in my improved 0.2.1 code (which uses ControlCommand to load the listbox instead), I would end up with two scrollbars for long lists....Edit: Mabye I could resize (WinMove) the width of the gui window containing the listbox to only show the gui's scrollbar when I have a short list.... Edited February 22, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
CyberSlug Posted February 22, 2004 Posted February 22, 2004 Wait!!! I posted too soon This works: 0x00201000 == LBS_DISABLENOSCROLL + WS_VSCROLL Thanks, Valik and Larry Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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