$glphyexists() | Uniface 9 | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
$glphyexists()
27 Jul 2017
11:36 am
Avatar
istiller
Member
Forum Posts: 192
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi

Does anyone knows, if there is a function like $glyphexists(“NameOfGlyph”) ?
I’m trying to implement a fallback mechanism for glyphs.
“If the desired size/color deep is not defined, use the next one”

But how to do at runtime at costumer site?

Ingo

28 Jul 2017
9:10 am
Avatar
diseli
Admin
Forum Posts: 786
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Ingo,

Have you already tried to do something like ‘$dirlist(“$res:gly\NameOfGlyph*”)’? If the glyph ‘NameOfGlyph’ does not exist then $dirlist will return nothing and otherwise it should return a list with the compiled files that match ‘NameOfGlyph’. This, of course, can only work when using File-Only Classic Deployment (DOL) or Standardized Deployment.

Hope this helps.

Daniel

28 Jul 2017
11:34 am
Avatar
istiller
Member
Forum Posts: 192
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Daniel

‘just found $dirlist in the world wide web 🙂
I’ll check this solution

But thanks anyway
Ingo

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online: CeccilCet, DinaSlake
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1677

Iain Sharp: 596

Theo Neeskens: 333

gianni: 237

rogerw: 228

lalitpct: 197

istiller: 192

-GHAN-: 171

Knut: 168

sochaz: 165

Member Stats:

Guest Posters: 3

Members: 4798

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 1982

Posts: 8560

Newest Members:

emmawu60, Ariafah, OgovorGor, JosephDrype, raybangr, WalterLip, nellmx18, mollycb3, NatashaBam, annmariedw16

Administrators: admin: 23, Adrian Gosbell: 268, diseli: 786, Bob Maier: 2, Nico Peereboom: 58, Michael Rabone: 4, richiet: 406, JanCees: 25