Hi,
In a process I use a DISPLAY QUESTION with quite a lot of text. When running the app, the Question is very narrow.
Is there a way to make it wider?
I come from version 6 where this is no issue and the question is shown wide enough. Now I run my app on version 8 and the Question is really narrow.
Tia,
Rob
Width of Question
Width of Question
Using 8.7 Professional 3025 on MySQL/Windows
Re: Width of Question
Nobody replies. Is there really no way to make de Question window a little bigger??
Using 8.7 Professional 3025 on MySQL/Windows
Re: Width of Question
picture please.
are you really on 8.3? that might be a bug.
are you really on 8.3? that might be a bug.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Width of Question
This is one of them The other (showing some details I cannot show here) which shows the problem. Those other contain much more text, but this one will give you an idea. It must be a bit wider.
- Attachments
-
- Knipsel.JPG (23.2 KiB) Viewed 13881 times
Using 8.7 Professional 3025 on MySQL/Windows
Re: Width of Question
Am I the only one who thinks the DISPLAY MESSAGE, DISPLAY QUESTION and REPORT ERROR need a lot of tender loving care.
Specifically it should look like:
DISPLAY MESSAGE [Header Style], [body style] , [header icon], [height] [width], "message goes here"
Bruce
Specifically it should look like:
DISPLAY MESSAGE [Header Style], [body style] , [header icon], [height] [width], "message goes here"
Bruce
-
- Posts: 1460
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Width of Question
And these should be able to access the SystemSettings or LIRU to enable the setting of definitions for consistent formats that can be changed simply without searching for DISPLAY MESSAGE in your code and manually updating every instance.
-
- Posts: 197
- Joined: Fri Jun 17, 2016 7:10 am
- Location: Brisbane Australia
- Contact:
Re: Width of Question
I agree wih Bruce the addition of some options to DISPLAY MESSAGE, DISPLAY QUESTION and REPORT ERROR would be nice.
Until that happens we embed the script below in the actual action text. This works for all 3 actions.
So for example in the DISPLAY QUESTION action.
results in
Sometimes we store and it and/or its variable bits in business objects to manage repeated use.
Until that happens we embed the script below in the actual action text. This works for all 3 actions.
Code: Select all
<script>
/* Title Icon, Text and Width */
$('#aw-msgbox_wnd_title').html('<i class=\'fas fa-info-circle\'></i> MY WINDOW TITLE');
$('#aw-msgbox_wnd_title').parent().css('width','900px');
/* Window Width - should be same as previous Title Width */
$('#aw-msgbox').parent().css('width','900px');
/* Window Height */
$('#aw-msgbox').parent().css('height','250px');
</script>
Code: Select all
DISPLAY QUESTION `
This is my very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long Question
<script>
/* Title Icon, Text and Width */
$('#aw-msgbox_wnd_title').html('<i class=\'fas fa-info-circle\'></i> MY WINDOW TITLE');
$('#aw-msgbox_wnd_title').parent().css('width','900px');
/* Window Width - should be same as previous Title Width */
$('#aw-msgbox').parent().css('width','900px');
/* Window Height */
$('#aw-msgbox').parent().css('height','250px');
</script>
`
AWS Linux, Windows Server, AIM 8.4 & 8.6
-
- Posts: 1460
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Width of Question
https://www.awareim.com/forum/viewtopic ... age#p47797
2018
https://www.awareim.com/forum/viewtopic.php?t=11521
How To Examples in 2020
Its something that has been asked for multiple times.
If only there were a requirements system or a mechanism for voting up feature requests...
2018
https://www.awareim.com/forum/viewtopic.php?t=11521
How To Examples in 2020
Its something that has been asked for multiple times.
If only there were a requirements system or a mechanism for voting up feature requests...
Re: Width of Question
Presumably, as a work around, it would also be possible to use a (modal) form instead of DISPLAY MESSAGE etc?
That may be overkill for a short message, but it gives greater control over the size of the window without having to resort to Javascript in the message content.
That may be overkill for a short message, but it gives greater control over the size of the window without having to resort to Javascript in the message content.
Niels
(V9.0 build 3241 - MariaDB - Windows)
(V9.0 build 3241 - MariaDB - Windows)