Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
8
Erster Beitrag:
vor 1 Monat, 3 Wochen
Letzter Beitrag:
vor 1 Monat, 3 Wochen
Beteiligte Autoren:
André Labuschagné, Arie

WD21 - Refresh Display Of Looper

Startbeitrag von André Labuschagné am 20.06.2017 17:59

Hi All

I now have got the variable row height of the looper working pretty well. The only issue I have is after filling the looper and selecting a row other than the first row the row heights are not correct. When I touch them they display correctly and adjust. How can I get the selected row to be the first displayed in the looper and have the looper display refreshed? They must display correctly.

At the moment the behaviour is really unprofessional.

Cheers
André

Antworten:

André,

I do something like this when filling the looper. But I have a programmed looper, not a browsing one. Then the resizing is done once which I think is some what more efficient too. And it works.

I also found that increasing the height of a row sometimes does not work, looks like your problem. A workaround is to make it very large first and then DEcrease the height. Not sure if that was in WD20, but I'm on V21 now and did not change the code.

von Arie - am 20.06.2017 19:10
Hi Arie

That is what I am looking for. I am going to try the increase then decrease the row to see what happens.

Cheers
Andre

von André Labuschagné - am 20.06.2017 19:18
Hi Arie

That did not work. If I set the position to the first position the behaviour is acceptable and works. It does not work if I position on any other row. The rows are resized but not displayed as resized. When touched with the mouse they do resize correctly. Disappointing but there you have it. Quite odd behaviour.

Cheers
André

von André Labuschagné - am 21.06.2017 00:37
Latest findings - if each row is positioned as selected and then a display executed it works perfectly - all rows and controls are the correct height. The only problem is that after each display it obviously redraws the looper so the user experience is akin to being in a saucy night club of ill repute :-)

Still trying to get it to refresh without the user seeing the antics going on behind the scenes.

Cheers
André

von André Labuschagné - am 21.06.2017 11:11
André,
Looper..DisplayEnabled is your friend

von Arie - am 21.06.2017 11:19
Arie - once again my saviour - let me try that right away.

von André Labuschagné - am 21.06.2017 11:36
DisplayEnabled set to false does not work as it is the actual redrawing of the rows that gets the new height displayed correctly. :-(

von André Labuschagné - am 21.06.2017 11:39
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.