Jump to content

Recommended Posts

Posted

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 :whistle:

Posted

I think I got the combo data. Just to make sure it is

EnvSet("OBJ1.data1","First Item")

EnvSet("OBJ1.data2","Second Item")

red

Posted

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 :whistle:

Thanks Lar

red

Posted

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 = 0x1000

Taken 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.

Posted (edited)

Try adding this style:

$LBS_DISABLENOSCROLL = 0x1000

Hmm... 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.... :whistle:

Edited 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!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...