Page 18 of 33

Re: [Modules] ListEx (all OS / DPI)

Posted: Fri Nov 22, 2019 8:40 pm
by davido
@Thorsten1867,
Thorsten1867 wrote:
davido wrote:Would it be possible for me to display a rectangle of thumbnails with ListEx, or have you designed this facility for small symbols only?
This should only depend on the row height.
I was hoping that you might say something like this. :D
Thank you.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 23, 2019 5:43 pm
by doctorized
Is there a way to have editable combo boxes?

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 23, 2019 8:05 pm
by Thorsten1867
doctorized wrote:Is there a way to have editable combo boxes?
The ComboBoxes are already editable??? :?

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 23, 2019 8:27 pm
by doctorized
Thorsten1867 wrote:
doctorized wrote:Is there a way to have editable combo boxes?
The ComboBoxes are already editable??? :?
If I add the flag ListEx::#Editable to the column, then the combo box is transformed to text box, I do not see the down arrow on the right.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 23, 2019 8:36 pm
by Thorsten1867
#Editable or #Strings use the StringGadget to edit the contents of the cell.

Code: Select all

ListEx::AddColumn(#List, ListEx::#LastItem, "Combo",   78, "combo",  ListEx::#ComboBoxes)
Please take a look at the example code, there you can see what which command does.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 23, 2019 9:03 pm
by doctorized
Thorsten1867 wrote:#Editable or #Strings use the StringGadget to edit the contents of the cell.

Code: Select all

ListEx::AddColumn(#List, ListEx::#LastItem, "Combo",   78, "combo",  ListEx::#ComboBoxes)
Please take a look at the example code, there you can see what which command does.
So, how can I make combo box editable? I checked your example but didn't find the answer I need.
By saying "Editable" I mean to have "male" and "female" (in your example) but also the user to be able to write their own words.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sun Nov 24, 2019 10:16 am
by Thorsten1867
doctorized wrote:So, how can I make combo box editable? I checked your example but didn't find the answer I need.
  • Click in the field with the selected item to the left of the selection button.
  • Use the Delete or Backspace key to delete the content.
  • Enter a new word with the letter keys.
PS: Always use the latest version of ListEx before posting, otherwise I can't reproduce problems.

Re: [Modules] ListEx (all OS / DPI)

Posted: Sun Nov 24, 2019 11:38 am
by doctorized
Thorsten1867 wrote:PS: Always use the latest version of ListEx before posting, otherwise I can't reproduce problems.
You are publishing new version almost every day. I was using a version downloaded two days ago. This version is already outdated. It's amazing! Thank you very much!!

Re: [Modules] ListEx (all OS / DPI)

Posted: Sun Nov 24, 2019 12:14 pm
by Thorsten1867
doctorized wrote:
Thorsten1867 wrote:You are publishing new version almost every day. I was using a version downloaded two days ago. This version is already outdated. It's amazing! Thank you very much!!
As soon as I hear about a bug, I try to fix it as soon as possible. (e.g. I noticed today that the ComboBoxes sometimes ignore the changed entry.)

Re: [Modules] ListEx (all OS / DPI)

Posted: Sun Nov 24, 2019 3:22 pm
by davido
Thorsten1867 wrote:
doctorized wrote:
Thorsten1867 wrote:You are publishing new version almost every day. I was using a version downloaded two days ago. This version is already outdated. It's amazing! Thank you very much!!
As soon as I hear about a bug, I try to fix it as soon as possible. (e.g. I noticed today that the ComboBoxes sometimes ignore the changed entry.)
Is this similar to the problem I posted regarding the inability of choosing drop-down entries in the ComboBox(es)?

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 30, 2019 10:38 am
by Thorsten1867
Update: multiline support

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 30, 2019 10:54 am
by davido
Mind Reader!!

@Thorsten1867,
I was going to ask if that was possible; that is why I logged on. :)
Thank you very much. :D

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 30, 2019 11:11 am
by davido
@Thorsten1867,

Sorry to have to ask, but I am unable to discover how to invoke the multi-line text option.
Could you please explain? :oops:

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 30, 2019 2:12 pm
by Thorsten1867
davido wrote:@Thorsten1867,

Sorry to have to ask, but I am unable to discover how to invoke the multi-line text option.
Could you please explain? :oops:
If the text contains a #LF$, it will be output multiline if the line height allows it.
With AddItem() you can use the character '|' instead of #LF$.

Code: Select all

ListEx::AddColumn(#List, 1, "Text", 275, "text") 
ListEx::SetRowsHeight(#List, 40)
ListEx::AddItem(#List, ListEx::#LastItem, "Row 1|Row 2")

Re: [Modules] ListEx (all OS / DPI)

Posted: Sat Nov 30, 2019 2:27 pm
by davido
@Thorsten1867,
Thank you, very much.
Works fine, now.
Would you be able to add those comments in your example code?