Hi
Screen fill-in widgets.
When I define a screen frame with fields from a table in the database and using the default format of the fields, when it is shown on screen, the tendency is that :
(1) Those fields with short format eg. X(3) will show info properly though often the space...
Realised that _Osprint.p does not send to the printer that I set programmactically in session:printer-name. It will always send report to the Windows default printer. Somewhere here, I have read that one way to overcome this problem is to use GetProfileString and WriteProfileString. Can...
Hullo Mark
If I am not wrong, the underlying data value (that resides in the database) can be queried only from the related buffer of the screen widget - that is the related record that you have read into memory.
Regards
Skc
You are right that the ~ character cannot be found in a string. In Progress, it is a special character. But if your delimiter is not '~' alone but '~001', then you should be able to extract .
I have tried sample code below and it works - V91.D
DEF VAR mx AS CHAR init...
Try putting this statement at the top of the program that requires it:
On Return Go.
At the end of the program, set it back:-
On Return Return.
Regards
SKC
Hullo Bendaluz
Right on! Works well! - R15 should be next to a literal. That's the problem with older folks - sometimes our brain can go on leave without our permission. ;p
Thanks
Regards
Hullo Chris
Tried. Can compile but gives error at runtime:-
"Column-label is not a settable attribute for fill-in mp-amount"
Too bad otherwise it would be an easy solution.
Thanks anyway.
I have a procedure that displays information on the screen in a down frame. One of the field is a decimal field which column-label can change. Codes as follows:-
IF mappamt:LABEL BEGINS "Debit" THEN
temprec.mp-amount:LABEL = " Debit".
ELSE...
Hi
V9.1D WinXP.
In my application, all my "messages view-as alert-box" produces sounds. However if I use "view-as alert-box QUESTION" no sound is produced on XP. :confused:
Anyone knows where I can set the sound ?
Thanks
SKc
As far as I am aware, Find or Find first is a command that will only find a maximum of 1 record and bring it into the record buffer. It cannot find multiple records even if there are multiple records that satisfy the criteria. If there are multiple records that fits the criteria, Find (w/o...
When you say 'unavailable' I assume you mean the printer is Offline. I have done a rough test on my XP standalone PC, switch off the HP Deskjet printer and did a print that sends Epson-compatible 17cpi control sequence (haven't got time to change it to HP's 17cpi). No error message appeared...
No it cannot be done via _osprint. See below the article from Progress KnowledgeCentre:
--------------------------
Progress Solution
ID: P17233
Title: "adecomm/_osprint.p does not support printer control escape sequences."
Created: 10-Jan-2003 Last Modified...
Has anyone tried this? If you use .Net, it appears that you will have to use ADO.Net for access to databases. As far as I know, ADO.Net accesses database thru 'Disconnected datasets'. In theory this means that data is read into memory first and the connection to the db is disconnected...
Look like it's confirmed that Progress can't do this at this point in time. The best that I can come up with:-
ON 'cursor-right' OF mreport
DO:
mreport:CURSOR-CHAR = mreport:CURSOR-CHAR + 40 NO- ERROR.
RETURN NO-APPLY.
END.
ON 'cursor-left' OF mreport
DO...
Progress V9.1D GUI
I managed to use the Progress editor widget to view Report text files on disk. But I have 1 main snag - how to allow user to press the right-arrow key to get wide report to scroll into view from the right?
Right-now pressing right-arrow key moves the cursor inside the...
Thanks guys
Using windows "display properties dialog" seems an easy way except that it would affect all message boxes and windows as well. It's a quick fix-it.
----
Replacing all my messages with a custom 'frame view-as dialog-box' and adding my own buttons, wait-for command, etc is a...
Does anyone know how to change the font in a Message Alert box command eg.
message "Please try again" view-as alert-box error.
I want the text "Please try again" or whatever to be a certain font that can be set globally for all messages within Progress. If not, then can the font be set...
Progress V9.1D Windows.
I want to change the color of the focused row of a browse widget at run-time.
Does anyone know whether this is possible with Progress?
Thanks for any clue.
Skc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.