minor tweaks

This commit is contained in:
Greg Gauthier 2025-05-10 13:38:30 +01:00
parent e10a6aeb5a
commit f68b12f1b6
2 changed files with 5 additions and 5 deletions

View File

@ -215,7 +215,7 @@
RETURN
END
street = self~getInputField(formwin, 7, 10, 25, '')
street = self~getInputField(formwin, 7, 10, 35, '')
if street = .nil then do
self~dropWindow(formwin)
RETURN
@ -264,12 +264,12 @@
/* Display result message */
if result > 0 then do /* should be a result id number */
formwin~mvaddstr(10, 2, "Contact ID ["result"] added successfully!")
formwin~mvaddstr(11, 2, "Contact ID ["result"] added successfully!")
formwin~refresh()
call SysWait 0.5
end
else do
formwin~mvaddstr(10, 2, "Failed to add contact.")
formwin~mvaddstr(11, 2, "Failed to add contact.")
formwin~refresh()
call SysWait 0.5
end
@ -411,7 +411,7 @@
RETURN
END
street = self~getInputField(editwin, 7, 10, 30, streetInit)
street = self~getInputField(editwin, 7, 10, 35, streetInit)
if street = .nil then do
self~dropWindow(editwin)
RETURN
@ -459,7 +459,7 @@
/* Display result message */
if result = 0 then do /* should be a result id number */
editwin~mvaddstr(11, 2, "Contact ID ["result"] edited successfully!")
editwin~mvaddstr(11, 2, "Contact edited successfully!")
editwin~refresh()
call SysWait 1.5
end

Binary file not shown.