NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Drop fields do not work properly
« previous
next »
Print
Pages: [
1
]
Author
Topic: Drop fields do not work properly (Read 4618 times)
astahl
Sr. Member
Posts: 308
Drop fields do not work properly
«
on:
December 31, 2020, 07:42:37 AM »
Bruce,
I have a small states file with 55 rows. When using a drop field on a form with NTWS 12 it no longer drops 15 at a time with scroll bar, but drops all 55.
How do I get it to drop only 15 rows with a scroll bar?
Ashley
Logged
DonRidley
Don Ridley
Global Moderator
Hero Member
Posts: 729
donaldridley2011@gmail.com
Re: Drop fields do not work properly
«
Reply #1 on:
December 31, 2020, 03:59:06 PM »
See:
http://www.nettalkcentral.com/forum/index.php?topic=8741.0
Also, you have CSS options.
For example:
ul[role="listbox"] {height: 15em;}
This will change the height of ALL Unordered List <ul> elements. It gets the element by its attribute "role" with a value of "listbox."
Or, you can target a specific element by its id attribute:
#VehicleGuid-menu {height: 15em;} ! This is from one of my drop downs.
But, as Bruce said, a fix is coming in 12.04.
Don
Logged
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."
NetTalk 12.55
Clarion 11
astahl
Sr. Member
Posts: 308
Re: Drop fields do not work properly
«
Reply #2 on:
January 01, 2021, 04:34:20 AM »
Thanks Don for all of the help.
Ashley
Logged
Vinnie
Full Member
Posts: 183
Re: Drop fields do not work properly
«
Reply #3 on:
January 01, 2021, 08:33:36 AM »
Hi added this to my customer css
Works great 12.03
.ui-selectmenu-open ul {
height: 30em ;
}
change 30em to 15em for fewer lines to display.
Logged
astahl
Sr. Member
Posts: 308
Re: Drop fields do not work properly
«
Reply #4 on:
January 12, 2021, 03:50:46 AM »
Also have found when using a queue that it does not follow the order of the queue.
YearQ.SearchYear = YEAR(TODAY()) !2021
ADD(YearQ)
YearQ.SearchYear = YEAR(TODAY()) - 1 !2020
ADD(YearQ)
YearQ.SearchYear = YEAR(TODAY()) - 2 !2019
ADD(YearQ)
YearQ.SearchYear = YEAR(TODAY()) - 3 !2018
ADD(YearQ)
YearQ.SearchYear = YEAR(TODAY()) - 4 !2017
ADD(YearQ)
YearQ.SearchYear = YEAR(TODAY()) - 5 !2016
ADD(YearQ)
YearQ.SearchYear = YEAR(TODAY()) - 6 - 2015
ADD(YearQ)
It always shows the last one first. 2021 should be the default year and not 2015
Ashley
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Drop fields do not work properly
«
Reply #5 on:
January 12, 2021, 09:14:03 PM »
read up on ADD in the clarion help to see how to force items to the front, or back, of the queue.
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Drop fields do not work properly