Skip to content

Commit 2096069

Browse files
authored
temporary replacement of "broken overstrike" function
1 parent f0b9017 commit 2096069

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

AppSrc/WebApp.src

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
Use AllWebAppClasses.pkg
22
Use cWebMenuItemLoadView.pkg
3+
4+
// TEMP FIX FOR DF 20 //
5+
Function tempOverstrike Global String sSource String sDestination Integer iPos Returns String
6+
Integer iChar iLen j
7+
UChar[] Destination
8+
String sResult
9+
Move 0 to j
10+
Move (StringToUCharArray(sDestination)) to Destination
11+
Move (Length(sSource)) to iLen
12+
For iChar from 1 to (Length(sDestination))
13+
If (iChar=(iPos+j)) Begin
14+
Move (Ascii(Mid(sSource,1,j+1))) to Destination[iChar-1]
15+
If (j<(iLen-1)) Begin
16+
Increment j
17+
End
18+
End
19+
Loop
20+
Move (UCharArrayToString(Destination)) to sResult
21+
Function_Return sResult
22+
End_Function
23+
// TEMP FIX FOR DF 20 ENDS //
24+
325
Use cWqWebApp.pkg
426
Use cWebQueryMenuItem.pkg
527

@@ -13,6 +35,7 @@ Object oWebApp is a cWqWebApp
1335
Set psTheme to "Df_Web_Creme"
1436
Set peLoginMode to lmLoginSupported
1537
Set psDateFormat to "dd/mm/yyyy"
38+
Set psEncryptPassword to "iuy45kjjh^&%3kghkjjhed78)(*&^Y&^" // REPLACE WITH YOUR OWN!!!
1639

1740
Object oCommandbar is a cWebCommandBar
1841

0 commit comments

Comments
 (0)