1 (edited by thezimguy 2020-02-21 19:27:12)

Topic: [SOLVED] Combobox Filter & TextHint Problem

ComboBox with Filter below not working in MVD 6.2

1=1 ORDER BY id DESC

The above code used to be the workaround to order items in the ComboBox but does not work any longer in MVD 6.2. Any workaround?
Thank you in advance

@thezimguy

Re: [SOLVED] Combobox Filter & TextHint Problem

show the full script

3 (edited by derek 2020-01-06 19:55:09)

Re: [SOLVED] Combobox Filter & TextHint Problem

Hi Sibprogsistem, Hi Thezimguy,
I think the problem that has been identified is that in previous versions of MVD, you didn't have to use a script and so it was much simpler - you could set the sort sequence of the combobox just by using the 'filter' property (see attached screen shot).
I've had a quick look and I can't think of any easy solution.
Derek.

Post's attachments

Attachment icon screen.jpg 84.8 kb, 147 downloads since 2020-01-06 

4 (edited by thezimguy 2020-01-06 20:21:38)

Re: [SOLVED] Combobox Filter & TextHint Problem

Thank you Derek for your response.
I have realized that the 'Filter' script is now placed in a bracket in MVD 6.2
I wish Dmitry will take a look at it.

@thezimguy

5 (edited by thezimguy 2020-01-10 10:15:32)

Re: [SOLVED] Combobox Filter & TextHint Problem

Please, how do get the sqlValue of a multiSelect ComboBox by script on ComboBox onChange?
Thank you

@thezimguy

Re: [SOLVED] Combobox Filter & TextHint Problem

Thanks guys
I have been able to figure it out

@thezimguy

Re: [SOLVED] Combobox Filter & TextHint Problem

thezimguy wrote:

Thank you Derek for your response.
I have realized that the 'Filter' script is now placed in a bracket in MVD 6.2
I wish Dmitry will take a look at it.

Please download latest beta version 6.3 beta
https://www.dropbox.com/s/gczabpgu8tyei … a.zip?dl=0


Now you can specify for a ComboBox sorting order, using properties "SoftField" and "SortOrder" via Object Inspector.

Dmitry.

Re: [SOLVED] Combobox Filter & TextHint Problem

Thank you Dmitry,
This is really helpful update
Thumbs up

@thezimguy

9 (edited by thezimguy 2020-01-19 20:13:40)

Re: [SOLVED] Combobox Filter & TextHint Problem

Hello family,
A little issue with comboBox 1.Texthint and 2. searchable
Problem 1
Eg.
Place a ComboBox on the form
Connect it to database
In the property, set the 'TextHint' and check 'ShowHint' to True.
When you run the project the Texthint sometimes does not show.
It works on other forms and does not work on other forms
Problem 2
1. Make ComboBox searchable and connect to database
2. Select button for Increm. Search for the ComboBox
3. Run application
4. Click on ComboBox to drop down
5. Do not select any item, just click on ComboBox again to close.
6. ComboBox automatically load data into tableGrid

This does not happen with comboBox without searchable
Any solution?
I tried this in MVD 6.3beta
Any help?

@thezimguy

Re: [SOLVED] Combobox Filter & TextHint Problem

Hello.


Problem 1:
Fixed: https://www.dropbox.com/s/gczabpgu8tyei … a.zip?dl=0


Problem 2:
Unfortunately I can't change it.

Dmitry.

Re: [SOLVED] Combobox Filter & TextHint Problem

Tnx boss

@thezimguy

Re: [SOLVED] Combobox Filter & TextHint Problem

thezimguy wrote:

Hello family,
A little issue with comboBox 1.Texthint and 2. searchable
Problem 1
Eg.
Place a ComboBox on the form
Connect it to database
In the property, set the 'TextHint' and check 'ShowHint' to True.
When you run the project the Texthint sometimes does not show.
It works on other forms and does not work on other forms
Problem 2
1. Make ComboBox searchable and connect to database
2. Select button for Increm. Search for the ComboBox
3. Run application
4. Click on ComboBox to drop down
5. Do not select any item, just click on ComboBox again to close.
6. ComboBox automatically load data into tableGrid

This does not happen with comboBox without searchable
Any solution?
I tried this in MVD 6.3beta
Any help?

Problem one is still persistent.
ComboBox texthint does not show when the form is shown by a button with action 'NEW RECORD' but shows when the action is 'SHOW FORM'.
Any help?

@thezimguy