Search results

  1. S

    How to change space reserved for fill-in widgets?

    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...
  2. S

    Need WriteProfileString to overcome _Osprint problem

    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...
  3. S

    Getting the assigned value of a fill-in

    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
  4. S

    Tilde Character in String

    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...
  5. S

    V7 Update/Validation Question

    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
  6. S

    Right-align a Column-label

    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
  7. S

    Right-align a Column-label

    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.
  8. S

    Right-align a Column-label

    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...
  9. S

    Message Alert-box Question - no sound

    OK - resolved. Control Panel .... Sound / Question had no settings. Set it to Exclamation wave. Works now. :D Skc
  10. S

    Message Alert-box Question - no sound

    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
  11. S

    Find / Find First - Help!!

    Welcome back ;p Regards Skc
  12. S

    Find / Find First - Help!!

    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...
  13. S

    Problem using _osprint.

    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...
  14. S

    Problem using _osprint.

    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...
  15. S

    Progress or Microsoft.Net ?

    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...
  16. S

    Report Viewer - 1 snag

    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...
  17. S

    Report Viewer - 1 snag

    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...
  18. S

    Change font in Message Alert Box

    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...
  19. S

    Change font in Message Alert Box

    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...
  20. S

    Browse row color

    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
Back
Top