Opened 6 weeks ago

Closed 4 weeks ago

#413 closed enhancement (worksforme)

Enhance Button/Input field combination to continous press

Reported by: Hubert Maier Owned by:
Priority: normal Milestone: 5.0-2019R3
Component: Area.mui Version: 5.0-2019R2
Severity: minor Keywords:
Cc: OS Platform: AmigaOS4
Blocked By: Blocking:
Release Notes:

Description

Problem

There is a (Hollywood) program on OS4Depot.net called IconEditor
http://www.os4depot.net/?function=showfile&file=graphics/iconedit/iconeditor.lha
which features a button/input field combination (see attached test Program, provided by IconEditor's author Paul Bloedel) to change the Input field's value.

The MUI preferences program has nothing similar, so please refer to the test program.

I was told that this enhancement (or rather this feature) is impossible to do within Hollywood, but needs to be taken care of within MUI.

Analysis

Using the input filed, one can type in any value, even a negative one

Using the "+","-" buttons one can change the value too, but only one step per click.

Enhancement recommendation

1)
I'd like to ask for an enhancement that adds continous change to the value by keeping the "+","-" buttons pressed.
2)
And maybe add such a combination as example to MUI's own preferences program.

Attachments (1)

LittleDemo.lha (1.9 MB) - added by Hubert Maier 6 weeks ago.
Hollywood demo program with only the button/input field combination

Download all attachments as: .zip

Change History (5)

Changed 6 weeks ago by Hubert Maier

Attachment: LittleDemo.lha added

Hollywood demo program with only the button/input field combination

comment:1 Changed 6 weeks ago by Thore Böckelmann

Have you tried listening to triggers of the MUIA_Timer attribute already? Like this:

DoMethod(plusbutton, MUIM_Notify, MUIA_Timer, MUIV_EveryTime, obj, 2, MUIM_Fontpanel_SizeChange, 1);
DoMethod(minusbutton, MUIM_Notify, MUIA_Timer, MUIV_EveryTime, obj, 2, MUIM_Fontpanel_SizeChange, -1);

This code is taken from MUI's font panel. It features an adjustable font size by plus/minus buttons. These can be clicked just like you desire it.

Last edited 6 weeks ago by Thore Böckelmann (previous) (diff)

comment:2 Changed 4 weeks ago by Hubert Maier

Thank you for the feedback.

This will (probably/eventually) be integrated into Hollywood itself.

comment:3 Changed 4 weeks ago by Hubert Maier

…and can be closed…why can't i close my own ticket?

comment:4 Changed 4 weeks ago by Thore Böckelmann

Component: undefinedArea.mui
Milestone: future release5.0-2019R3
Priority: undecidednormal
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.