Recent content by psuter

  1. P

    Using the Procedure Editor of Progress from within an Application

    Dear Developpers I want to start the procedure editor of progress from within my application using the procedure adecomm/_pwmain.p(..). After starting it, there are two applications running: My own application and the procedure editor containing my code. When closing the procedure editor...
  2. P

    functions and section editor

    Even then there is a limitation after abaout 100 functions, because all the functions, definitions and main-block share the same section. Progress sends an error message during compile time. P.Suter
  3. P

    functions and section editor

    Hello everybody I'm working in a company that uses Progress 9.1B. There is always the same problem working with functions. If the functions need more than 64kB size the section editor is not able to open the whole code. Is there a newer version of the section editor in 9.1d or 91.e or is there...
  4. P

    Progress editor

    Hello everybody I'm looking for an editor that understands the syntax of progress and that can be put on a progress window. I don't know if this exists. Can anybody help me? Thanks a lot Pascal
  5. P

    Progress Editor

    Hello everybody I'm looking for an editor that understands the syntax of progress and that can be put on a progress window. I don't know if this exists. Can anybody help me? Thanks a lot Pascal
  6. P

    Get clockcycles

    I've found the answer myself! There is a Cyclecounter in kernel32.dll (windows api) that can be used instead of ETIME(). A call to the external function in kernel32.dll lasts about .92 ms. Therefore the exact time is between +/- 0.1 ms of the measured time: DEFINE VARIABLE...
  7. P

    Get clockcycles

    I want to measure some modules in progress. But Etime() does not fullfill my wishes. Is there a function in progess that gives me the processor cycles? Pascal Suter
  8. P

    using multiselection with smartbrowser

    In the property-sheet of a smart-browser I set the multiselection attribut. But, how can I receive the selected RowID's? Normally (not using smart-objects) I used the attribut 'NUM-SELECTED-ROWS' and the function 'FETCH-SELECTED-ROW' in order to receive the selected RowId's. The...
  9. P

    change cell color in a dynamic browse

    Dear Jon It really worked that way! Thank you very much. I know that I confused you. But, as I've said, I'm using a static browser with a freeform query. This means that I assign a dynamic query handle while runtime to the static browser (browse-widget:QUERY = hMyQuery). This is my...
  10. P

    change cell color in a dynamic browse

    Dear Jon There are a fiew things to add. First of all, I'm using a static browser with a freeform Query. The browser behaves as it were a dynamic browser. I run a dynamic Query that is assigned to the browser. All fields of the Query are automatically displayed. So, in fact, I can...
  11. P

    change cell color in a dynamic browse

    Does anybody know how to change the backgroundcolor of a dynamic browser? In the Trigger "row-display" I tried to assign the bgcolor attribute on a field-handle, but it doesn't exist? Thanks, Pascal
  12. P

    How to create a GUID (global unique identifier)

    Hello Norman It sounds stupid, but could you give me an example of code how to use this bat-file from within progress in order to receive a new GUID number? Thanks Pascal
  13. P

    How to create a GUID (global unique identifier)

    Dear programmers Is there a possibility to create a GUID (global unique identifier) using progess language? For example, on a microsoft sql server platform these is done by using NewID(). Pascal
  14. P

    Only for Specialist? How to build a 4-GL-FIND LAST/FIRST-Statement as a dynamic query

    Thans for your help. I see, the only way to do this dynamically is an QUERY-Open(..) and a GET-FIRST(..). In the meanwhile I have realized that the QUERY-OPEN(..) function does not start the query and return records to the client. This happens, when I use the GET-FIRST(), GET-NEXT() or...
Top