$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: 199
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: 820
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: 199
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: marcel.gokke@consafelogistics.com
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1694

Iain Sharp: 611

Theo Neeskens: 339

gianni: 257

rogerw: 232

istiller: 199

lalitpct: 197

Knut: 174

-GHAN-: 171

sochaz: 165

Member Stats:

Guest Posters: 3

Members: 6236

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2029

Posts: 8743

Newest Members:

PatrickAbnok, PercyTok, RobertDek, Dagdalasquife, iAquaLinkpnr, Giudicequife, Williamssdup, awagrot, TilligerlArTib, Dagelvquife

Administrators: admin: 23, Adrian Gosbell: 278, diseli: 820, Bob Maier: 3, Nico Peereboom: 62, Michael Rabone: 4, richiet: 406, JanCees: 28